aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2016-01-07 21:08:57 -0800
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-01-07 21:08:57 -0800
commit90ad38fae043268e3bfe2844f1996707bfd0caf8 (patch)
treefc715e0706fa9832e43049bcb9db2f52ce5b29b0
parent830af271de1c9c3589bcce12cc08573850141f51 (diff)
downloadcryptography-90ad38fae043268e3bfe2844f1996707bfd0caf8.tar.gz
cryptography-90ad38fae043268e3bfe2844f1996707bfd0caf8.tar.bz2
cryptography-90ad38fae043268e3bfe2844f1996707bfd0caf8.zip
remove the callbacks we don't use in cryptography
-rw-r--r--src/_cffi_src/openssl/callbacks.py61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/_cffi_src/openssl/callbacks.py b/src/_cffi_src/openssl/callbacks.py
index 8ab64fbf..3e4ef572 100644
--- a/src/_cffi_src/openssl/callbacks.py
+++ b/src/_cffi_src/openssl/callbacks.py
@@ -32,67 +32,6 @@ extern "Python" int Cryptography_pem_password_cb(char *, int, int, void *);
*/
extern "Python" int Cryptography_rand_bytes(unsigned char *, int);
extern "Python" int Cryptography_rand_status(void);
-
-/* ssl.h
- *
- * SSL_CTX_set_cert_verify_callback
- * int (*cert_verify_callback)(X509_STORE_CTX *ctx, void *userdata)
- */
-extern "Python" int Cryptography_cert_verify_cb(
- X509_STORE_CTX *, void *);
-
-/* SSL_CTX_set_info_callback
- * void (*info_callback)(const SSL *ssl, int type, int val)
- */
-extern "Python" void Cryptography_ssl_info_cb(
- const SSL *, int, int);
-
-/* SSL_CTX_set_msg_callback
- * void (*info_callback)(int write_p, int version, int content_type,
- * const void *buf, size_t len, SSL *ssl, void *arg)
- */
-extern "Python" void Cryptography_msg_cb(
- int, int, int, const void *, size_t, SSL *, void *);
-
-/* SSL_CTX_set_client_cert_cb
- * int (*client_cert_cb) (SSL *ssl, X509 **x509, EVP_PKEY **pkey)
- */
-extern "Python" int Cryptography_client_cert_cb(
- SSL *, X509 **, EVP_PKEY **);
-
-/* SSL_CTX_set_next_protos_advertised_cb
- * int (*cb)(SSL *ssl, const unsigned char **out, unsigned int *outlen,
- * void *arg
- */
-extern "Python" int Cryptography_next_proto_advertised_cb(
- SSL *, const unsigned char **, unsigned int *, void *);
-
-/* SSL_CTX_set_next_proto_select_cb
- * int (*cb) (SSL *ssl, unsigned char **out, unsigned char *outlen,
- * const unsigned char *in, unsigned int inlen, void *arg)
- */
-extern "Python" int Cryptography_next_proto_select_cb(
- SSL *, unsigned char **, unsigned char *, const unsigned char *,
- unsigned int, void *);
-
-/* SSL_CTX_set_alpn_select_cb
- * int (*cb) (SSL *ssl, const unsigned char **out, unsigned char *outlen,
- const unsigned char *in, unsigned int inlen, void *arg)
- */
-extern "Python" int Cryptography_alpn_select_cb(
- SSL *, const unsigned char **, unsigned char *, const unsigned char *,
- unsigned int, void *arg);
-
-/* tls1.h
- * SSL_CTX_set_tlsext_servername_callback
- */
-extern "Python" int Cryptography_tlsext_servername_cb(
- const SSL *, int *, void *);
-
-/* x509_vfy.h
- * int (*verify_cb)(int ok, X509_STORE_CTX *ctx)
- */
-extern "Python" int Cryptography_verify_cb(int, X509_STORE_CTX *);
"""
FUNCTIONS = """