diff options
author | Laurens Van Houtven <_@lvh.cc> | 2014-06-23 10:39:40 +0200 |
---|---|---|
committer | Laurens Van Houtven <_@lvh.cc> | 2014-06-23 10:39:40 +0200 |
commit | 006f5ff269371c0adc9a04d2744875a1ee7b64c8 (patch) | |
tree | 44d0eb0e1405fe33db4c14ed1e37a92cd95ec20a | |
parent | 7740c1f5d6a67c5bd32981842364083ce1fc9aba (diff) | |
download | cryptography-006f5ff269371c0adc9a04d2744875a1ee7b64c8.tar.gz cryptography-006f5ff269371c0adc9a04d2744875a1ee7b64c8.tar.bz2 cryptography-006f5ff269371c0adc9a04d2744875a1ee7b64c8.zip |
Fix ssl.py comment style
-rw-r--r-- | cryptography/hazmat/bindings/openssl/ssl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ssl.py b/cryptography/hazmat/bindings/openssl/ssl.py index 018a1413..7d805e78 100644 --- a/cryptography/hazmat/bindings/openssl/ssl.py +++ b/cryptography/hazmat/bindings/openssl/ssl.py @@ -456,7 +456,7 @@ static const long Cryptography_HAS_SSL_OP_NO_TICKET = 0; const long SSL_OP_NO_TICKET = 0; #endif -// OpenSSL 0.9.8f+ +/* OpenSSL 0.9.8f+ */ #if OPENSSL_VERSION_NUMBER >= 0x00908070L static const long Cryptography_HAS_SSL_SET_SSL_CTX = 1; #else @@ -483,7 +483,7 @@ static const long Cryptography_HAS_NETBSD_D1_METH = 1; static const long Cryptography_HAS_NETBSD_D1_METH = 1; #endif -// Workaround for #794 caused by cffi const** bug. +/* Workaround for #794 caused by cffi const** bug. */ const SSL_METHOD* Cryptography_SSL_CTX_get_method(const SSL_CTX* ctx) { return ctx->method; } @@ -519,7 +519,7 @@ void (*SSL_get0_next_proto_negotiated)(const SSL *, static const long Cryptography_HAS_NEXTPROTONEG = 1; #endif -// ALPN was added in OpenSSL 1.0.2. +/* ALPN was added in OpenSSL 1.0.2. */ #if OPENSSL_VERSION_NUMBER < 0x10002001L int (*SSL_CTX_set_alpn_protos)(SSL_CTX *, const unsigned char*, |