Skip to content

Commit

Permalink
Merge pull request #65 from CyberTailor/master
Browse files Browse the repository at this point in the history
Fix build failure with LibreSSL
  • Loading branch information
prefiks authored Apr 9, 2024
2 parents 65844dc + 88349e6 commit ec8dcfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions c_src/fast_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ typedef unsigned __int32 uint32_t;
#define DH_set0_pqg(dh, dh_p, param, dh_g) (dh)->p = dh_p; (dh)->g = dh_g
#endif

#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#define SSL_get_extms_support(s) 0
#endif

#if OPENSSL_VERSION_NUMBER < 0x10002000L
#define SSL_is_server(s) (s)->server
#endif
Expand Down

0 comments on commit ec8dcfe

Please sign in to comment.