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.

17 lines
591 B

  1. --- a/deps/picotls/include/picotls/openssl.h
  2. +++ b/deps/picotls/include/picotls/openssl.h
  3. @@ -26,11 +26,14 @@
  4. #include <openssl/evp.h>
  5. #include <openssl/hmac.h>
  6. #include <openssl/x509.h>
  7. +#include <openssl/opensslconf.h>
  8. #include "../picotls.h"
  9. #if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
  10. +#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
  11. #define PTLS_OPENSSL_HAVE_CHACHA20_POLY1305
  12. #endif
  13. +#endif
  14. extern ptls_key_exchange_algorithm_t ptls_openssl_secp256r1;
  15. extern ptls_key_exchange_algorithm_t *ptls_openssl_key_exchanges[];