GitHub PullRequestReviewCommentEvent at 2014-04-18 15:21:54
Repository: cryptography
Actor: reaperhulk
Payload: {"comment":{"url":"https://api.github.com/repos/pyca/cryptography/pulls/comments/11775031","id":11775031,"diff_hunk":"@@ -0,0 +1,95 @@\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#    http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n+# implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+\n+from __future__ import absolute_import, division, print_function\n+\n+INCLUDES = \"\"\"\n+#ifndef OPENSSL_NO_CMS\n+#include <openssl/cms.h>\n+#endif\n+\"\"\"\n+\n+TYPES = \"\"\"\n+static const long Cryptography_HAS_CMS;\n+\n+typedef ... CMS_ContentInfo;\n+typedef ... CMS_SignerInfo;\n+typedef ... CMS_CertificateChoices;\n+typedef ... CMS_RevocationInfoChoice;\n+typedef ... CMS_RecipientInfo;\n+typedef ... CMS_ReceiptRequest;\n+typedef ... CMS_Receipt;\n+\"\"\"\n+\n+FUNCTIONS = \"\"\"\n+\"\"\"\n+\n+MACROS = \"\"\"\n+BIO *BIO_new_CMS(BIO *, CMS_ContentInfo *);\n+int i2d_CMS_bio_stream(BIO *, CMS_ContentInfo *, BIO *, int);\n+int PEM_write_bio_CMS_stream(BIO *, CMS_ContentInfo *, BIO *, int);\n+int CMS_final(CMS_ContentInfo *, BIO *, BIO *, unsigned int);\n+CMS_ContentInfo *CMS_sign(X509 *, EVP_PKEY *, Cryptography_STACK_OF_X509 *,\n+                          BIO *, unsigned int);\n+int CMS_verify(CMS_ContentInfo *, Cryptography_STACK_OF_X509 *, X509_STORE *,\n+               BIO *, BIO *, unsigned int);\n+CMS_ContentInfo *CMS_encrypt(Cryptography_STACK_OF_X509 *, BIO *,\n+                             const EVP_CIPHER *, unsigned int);\n+int CMS_decrypt(CMS_ContentInfo *, EVP_PKEY *, X509 *, BIO *, BIO *,\n+                unsigned int);\n+CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *, X509 *, EVP_PKEY *,\n+                                const EVP_MD *, unsigned int);\n+\"\"\"\n+\n+CUSTOMIZATIONS = \"\"\"\n+#ifndef OPENSSL_NO_CMS","path":"cryptography/hazmat/bindings/openssl/cms.py","position":55,"original_position":55,"commit_id":"344a3b7b92de9bf6ee64d49d8fa5041f97b1e90b","original_commit_id":"344a3b7b92de9bf6ee64d49d8fa5041f97b1e90b","user":{"login":"reaperhulk","id":161495,"avatar_url":"https://avatars.githubusercontent.com/u/161495?","gravatar_id":"81f310942fe5989105a6b474cda4c843","url":"https://api.github.com/users/reaperhulk","html_url":"https://github.com/reaperhulk","followers_url":"https://api.github.com/users/reaperhulk/followers","following_url":"https://api.github.com/users/reaperhulk/following{/other_user}","gists_url":"https://api.github.com/users/reaperhulk/gists{/gist_id}","starred_url":"https://api.github.com/users/reaperhulk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reaperhulk/subscriptions","organizations_url":"https://api.github.com/users/reaperhulk/orgs","repos_url":"https://api.github.com/users/reaperhulk/repos","events_url":"https://api.github.com/users/reaperhulk/events{/privacy}","received_events_url":"https://api.github.com/users/reaperhulk/received_events","type":"User","site_admin":false},"body":"I wondered what the builders would tell me about that. I'll update with a version constraint I guess and we can hope it's safe...","created_at":"2014-04-18T15:21:54Z","updated_at":"2014-04-18T15:21:54Z","html_url":"https://github.com/pyca/cryptography/pull/936#discussion_r11775031","pull_request_url":"https://api.github.com/repos/pyca/cryptography/pulls/936","_links":{"self":{"href":"https://api.github.com/repos/pyca/cryptography/pulls/comments/11775031"},"html":{"href":"https://github.com/pyca/cryptography/pull/936#discussion_r11775031"},"pull_request":{"href":"https://api.github.com/repos/pyca/cryptography/pulls/936"}}}}