You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.9 KiB

  1. From eec1f066476eccf7135af0a4cfef9e1c883795b3 Mon Sep 17 00:00:00 2001
  2. From: Paul Kehrer <paul.l.kehrer@gmail.com>
  3. Date: Mon, 25 Feb 2019 10:55:16 +0800
  4. Subject: [PATCH] remove NPN bindings -- you should be using ALPN!
  5. pyOpenSSL consumed these, but we've marked it as deprecated and it
  6. already handles the case where the bindings are not available.
  7. ---
  8. src/_cffi_src/openssl/ssl.py | 16 ----------------
  9. 1 file changed, 16 deletions(-)
  10. diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
  11. index da21f3ce90..0e8610f988 100644
  12. --- a/src/_cffi_src/openssl/ssl.py
  13. +++ b/src/_cffi_src/openssl/ssl.py
  14. @@ -431,25 +431,9 @@
  15. long SSL_session_reused(SSL *);
  16. -void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *,
  17. - int (*)(SSL *,
  18. - const unsigned char **,
  19. - unsigned int *,
  20. - void *),
  21. - void *);
  22. -void SSL_CTX_set_next_proto_select_cb(SSL_CTX *,
  23. - int (*)(SSL *,
  24. - unsigned char **,
  25. - unsigned char *,
  26. - const unsigned char *,
  27. - unsigned int,
  28. - void *),
  29. - void *);
  30. int SSL_select_next_proto(unsigned char **, unsigned char *,
  31. const unsigned char *, unsigned int,
  32. const unsigned char *, unsigned int);
  33. -void SSL_get0_next_proto_negotiated(const SSL *,
  34. - const unsigned char **, unsigned *);
  35. int sk_SSL_CIPHER_num(Cryptography_STACK_OF_SSL_CIPHER *);
  36. const SSL_CIPHER *sk_SSL_CIPHER_value(Cryptography_STACK_OF_SSL_CIPHER *, int);