mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
fix for SSL error:00000000:lib(0):func(0):reason(0) bug
This commit is contained in:
parent
b98789d32e
commit
13962a20a8
2 changed files with 2 additions and 2 deletions
|
@ -514,10 +514,9 @@ int internal__hydra_connect_to_ssl(int socket, char *hostname) {
|
|||
return -1;
|
||||
}
|
||||
} else {
|
||||
// if ((sslContext = SSL_CTX_new(SSLv23_client_method())) == NULL) {
|
||||
#ifndef TLSv1_2_client_method
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
#define TLSv1_2_client_method TLSv1_client_method
|
||||
#define TLSv1_2_client_method TLSv1_2_client_method
|
||||
#else
|
||||
#define TLSv1_2_client_method TLS_client_method
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue