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.

21 lines
599 B

  1. --- a/src/racoon/crypto_openssl.c
  2. +++ b/src/racoon/crypto_openssl.c
  3. @@ -1087,7 +1087,7 @@ eay_strerror()
  4. int line, flags;
  5. unsigned long es;
  6. -#if OPENSSL_VERSION_NUMBER >= 0x10100000L
  7. +#if OPENSSL_VERSION_NUMBER >= 0x10000000L
  8. es = 0; /* even when allowed by OPENSSL_API_COMPAT, it is defined as 0 */
  9. #else
  10. es = CRYPTO_thread_id();
  11. --- a/src/racoon/openssl_compat.h
  12. +++ b/src/racoon/openssl_compat.h
  13. @@ -5,6 +5,7 @@
  14. #if OPENSSL_VERSION_NUMBER < 0x10100000L
  15. #include <openssl/rsa.h>
  16. +#include <openssl/bn.h>
  17. #include <openssl/dh.h>
  18. #include <openssl/evp.h>
  19. #include <openssl/hmac.h>