Fix compiler warning.

When used with other statements, #ifdef should be split in tokens

Warning:
hydra-mod.c:441:19: warning: extra tokens at end of #ifdef directive
This commit is contained in:
Dario Lombardo 2016-10-10 11:30:10 +02:00
commit 773bc7228f

View file

@ -223,7 +223,7 @@ int internal__hydra_connect(char *host, int port, int protocol, int type) {
if (debug) if (debug)
printf("DEBUG_CONNECT_UNREACHABLE\n"); printf("DEBUG_CONNECT_UNREACHABLE\n");
/* we wont quit here, thats up to the module to decide what to do /* we wont quit here, thats up to the module to decide what to do
* fprintf(stderr, "Process %d: Can not connect [unreachable], process exiting\n", (int)getpid()); * fprintf(stderr, "Process %d: Can not connect [unreachable], process exiting\n", (int)getpid());
* hydra_child_exit(1); * hydra_child_exit(1);
*/ */
@ -438,7 +438,7 @@ int internal__hydra_connect(char *host, int port, int protocol, int type) {
return ret; return ret;
} }
#ifdef LIBOPENSSL && !defined(LIBRESSL_VERSION_NUMBER) #if defined LIBOPENSSL && !defined(LIBRESSL_VERSION_NUMBER)
RSA *ssl_temp_rsa_cb(SSL * ssl, int export, int keylength) { RSA *ssl_temp_rsa_cb(SSL * ssl, int export, int keylength) {
int ok = 0; int ok = 0;
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) #if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)