File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ static inline void HMAC_CTX_free(HMAC_CTX *ctx)
44
44
45
45
#endif
46
46
47
- #if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(CRYPT_OPENSSL_DYNAMIC )
47
+ #if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER )) || \
48
+ (defined(LIBRESSL_VERSION_NUMBER ) && LIBRESSL_VERSION_NUMBER >= 0x03050000fL ) || \
49
+ defined(CRYPT_OPENSSL_DYNAMIC )
48
50
49
51
static inline void HMAC_CTX_cleanup (HMAC_CTX * ctx )
50
52
{
@@ -61,7 +63,9 @@ static bool ntlm_crypt_init_functions(ntlm_client *ntlm)
61
63
void * handle ;
62
64
63
65
if ((handle = dlopen ("libssl.so.1.1" , RTLD_NOW )) == NULL &&
66
+ (handle = dlopen ("libssl.1.1.dylib" , RTLD_NOW )) == NULL &&
64
67
(handle = dlopen ("libssl.so.1.0.0" , RTLD_NOW )) == NULL &&
68
+ (handle = dlopen ("libssl.1.0.0.dylib" , RTLD_NOW )) == NULL &&
65
69
(handle = dlopen ("libssl.so.10" , RTLD_NOW )) == NULL ) {
66
70
ntlm_client_set_errmsg (ntlm , "could not open libssl" );
67
71
return false;
You can’t perform that action at this time.
0 commit comments