Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: stringprep.h file not found #50

Closed
nashlesigon opened this issue Mar 13, 2015 · 12 comments
Closed

fatal error: stringprep.h file not found #50

nashlesigon opened this issue Mar 13, 2015 · 12 comments

Comments

@nashlesigon
Copy link

Hello,

I tried compiling hydra on mac os x yosemite but after running the make command I ran into this error. Checking for stringprep.h in my system yields /opt/local/include/stringprep.h so am guessing that I have the said file.

Please advise.

EDIT:
hydra version 8.1

@vanhauser-thc
Copy link
Owner

do fix your problem, you can add "-I /opt/local/include" to the OPTS= definition in the Makefile (after ./configure)

can you please paste the full compile output including the error?

@nashlesigon
Copy link
Author

Hi vanhauser-thc,

Thanks for the reply. This is the error upon invoking make command.

gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2    -o pw-inspector  pw-inspector.c
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-vnc.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-pcnfs.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-rexec.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-nntp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
In file included from hydra-nntp.c:2:
./sasl.h:24:10: fatal error: 'stringprep.h' file not found
#include 
         ^
1 error generated.
make: *** [hydra-nntp.o] Error 1

Adding the "-I /opt/local/include" to the OPTS= definition in the Makefile and re-run make command, this is the result:

### from this ###
OPTS=-I. -O3
### to this ###
OPTS=-I. -O3 -I /opt/local/include
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-nntp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-socks5.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-telnet.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-cisco.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-http.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-ftp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-imap.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-pop3.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-smb.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
hydra-smb.c:1192:55: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  if (/*(bufReceive == NULL) ||*/ (nReceiveBufferSize == 0))
                                   ~~~~~~~~~~~~~~~~~~~^~~~
hydra-smb.c:1192:55: note: remove extraneous parentheses around the comparison to silence this warning
  if (/*(bufReceive == NULL) ||*/ (nReceiveBufferSize == 0))
                                  ~                   ^   ~
hydra-smb.c:1192:55: note: use '=' to turn this equality comparison into an assignment
  if (/*(bufReceive == NULL) ||*/ (nReceiveBufferSize == 0))
                                                      ^~
                                                      =
1 warning generated.
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-icq.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-cisco-enable.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-ldap.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-mysql.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-mssql.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-xmpp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-http-proxy-urlenum.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-snmp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
hydra-snmp.c:106:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to
      integer types with different sign [-Wpointer-sign]
  if (strlen(password) > passwordlen)
             ^~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
hydra-snmp.c:107:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to
      integer types with different sign [-Wpointer-sign]
    passwordlen = strlen(password);
                         ^~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
hydra-snmp.c:114:12: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers to integer types with different
      sign [-Wpointer-sign]
    strcpy(bpass, password);
           ^~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
  __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
                          ^
hydra-snmp.c:114:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to
      integer types with different sign [-Wpointer-sign]
    strcpy(bpass, password);
                  ^~~~~~~~
/usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy'
  __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
                                ^
hydra-snmp.c:116:14: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers to integer types with different
      sign [-Wpointer-sign]
      strcat(bpass, password);
             ^~~~~
/usr/include/secure/_string.h:125:27: note: expanded from macro 'strcat'
  __builtin___strcat_chk (dest, src, __darwin_obsz (dest))
                          ^
hydra-snmp.c:116:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to
      integer types with different sign [-Wpointer-sign]
      strcat(bpass, password);
                    ^~~~~~~~
/usr/include/secure/_string.h:125:33: note: expanded from macro 'strcat'
  __builtin___strcat_chk (dest, src, __darwin_obsz (dest))
                                ^
hydra-snmp.c:161:12: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers to integer types with different
      sign [-Wpointer-sign]
    strcpy(bpass, password);
           ^~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
  __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
                          ^
hydra-snmp.c:161:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to
      integer types with different sign [-Wpointer-sign]
    strcpy(bpass, password);
                  ^~~~~~~~
/usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy'
  __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
                                ^
hydra-snmp.c:163:14: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers to integer types with different
      sign [-Wpointer-sign]
      strcat(bpass, password);
             ^~~~~
/usr/include/secure/_string.h:125:27: note: expanded from macro 'strcat'
  __builtin___strcat_chk (dest, src, __darwin_obsz (dest))
                          ^
hydra-snmp.c:163:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to
      integer types with different sign [-Wpointer-sign]
      strcat(bpass, password);
                    ^~~~~~~~
/usr/include/secure/_string.h:125:33: note: expanded from macro 'strcat'
  __builtin___strcat_chk (dest, src, __darwin_obsz (dest))
                                ^
hydra-snmp.c:259:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer
      types with different sign [-Wpointer-sign]
        password_to_key_md5(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
                            ^~~~
hydra-snmp.c:97:35: note: passing argument to parameter 'password' here
void password_to_key_md5(u_char * password,     /* IN */
                                  ^
hydra-snmp.c:259:49: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer
      types with different sign [-Wpointer-sign]
        password_to_key_md5(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
                                                ^~~~~~~~~~~~~~
hydra-snmp.c:99:35: note: passing argument to parameter 'engineID' here
                         u_char * engineID,     /* IN  - pointer to snmpEngineID  */
                                  ^
hydra-snmp.c:259:80: warning: passing 'char [256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to
      integer types with different sign [-Wpointer-sign]
        password_to_key_md5(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
                                                                               ^~~
hydra-snmp.c:101:35: note: passing argument to parameter 'key' here
                         u_char * key) {        /* OUT - pointer to caller 16-octet buffer */
                                  ^
hydra-snmp.c:261:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer
      types with different sign [-Wpointer-sign]
        password_to_key_sha(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
                            ^~~~
hydra-snmp.c:150:35: note: passing argument to parameter 'password' here
void password_to_key_sha(u_char * password,     /* IN */
                                  ^
hydra-snmp.c:261:49: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer
      types with different sign [-Wpointer-sign]
        password_to_key_sha(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
                                                ^~~~~~~~~~~~~~
hydra-snmp.c:152:35: note: passing argument to parameter 'engineID' here
                         u_char * engineID,     /* IN  - pointer to snmpEngineID  */
                                  ^
hydra-snmp.c:261:80: warning: passing 'char [256]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to
      integer types with different sign [-Wpointer-sign]
        password_to_key_sha(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
                                                                               ^~~
hydra-snmp.c:154:35: note: passing argument to parameter 'key' here
                         u_char * key) {        /* OUT - pointer to caller 20-octet buffer */
                                  ^
hydra-snmp.c:319:47: warning: '/*' within block comment [-Wcomment]
      //                 const unsigned int   /*key_len*///,  
                                              ^
hydra-snmp.c:339:7: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      des_ncbc_encrypt(snmpv3_get2 + 2, buf, sizeof(snmpv3_get2) - 2, symcbc, (C_Block *) (initVect), DES_ENCRYPT);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/openssl/des_old.h:157:30: note: expanded from macro 'des_ncbc_encrypt'
        DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
                             ^~~
/opt/local/include/openssl/des.h:142:66: note: passing argument to parameter 'output' here
void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output,
                                                                 ^
hydra-snmp.c:370:43: warning: passing 'char [1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types
      with different sign [-Wpointer-sign]
      HMAC((EVP_MD *) EVP_md5(), key, 16, buffer, i - 1, hash, NULL);
                                          ^~~~~~
/opt/local/include/openssl/hmac.h:99:42: note: passing argument to parameter 'd' here
                    const unsigned char *d, size_t n, unsigned char *md,
                                         ^
hydra-snmp.c:370:58: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      HMAC((EVP_MD *) EVP_md5(), key, 16, buffer, i - 1, hash, NULL);
                                                         ^~~~
/opt/local/include/openssl/hmac.h:99:70: note: passing argument to parameter 'md' here
                    const unsigned char *d, size_t n, unsigned char *md,
                                                                     ^
hydra-snmp.c:373:44: warning: passing 'char [1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types
      with different sign [-Wpointer-sign]
      HMAC((EVP_MD *) EVP_sha1(), key, 20, buffer, i - 1, hash, NULL);
                                           ^~~~~~
/opt/local/include/openssl/hmac.h:99:42: note: passing argument to parameter 'd' here
                    const unsigned char *d, size_t n, unsigned char *md,
                                         ^
hydra-snmp.c:373:59: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      HMAC((EVP_MD *) EVP_sha1(), key, 20, buffer, i - 1, hash, NULL);
                                                          ^~~~
/opt/local/include/openssl/hmac.h:99:70: note: passing argument to parameter 'md' here
                    const unsigned char *d, size_t n, unsigned char *md,
                                                                     ^
hydra-snmp.c:430:53: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      if ((j = hydra_memsearch(buf + k, buf[k + 3], snmpv3_nouser, sizeof(snmpv3_nouser))) < 0)
                                                    ^~~~~~~~~~~~~
./hydra-mod.h:39:60: note: passing argument to parameter 'needle' here
extern int hydra_memsearch(char *haystack, int hlen, char *needle, int nlen);
                                                           ^
hydra-snmp.c:444:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
          hydra_dump_asciihex(snmpv3info, snmpv3infolen);
                              ^~~~~~~~~~
./hydra-mod.h:34:48: note: passing argument to parameter 'string' here
extern void hydra_dump_asciihex(unsigned char *string, int length);
                                               ^
hydra-snmp.c:456:70: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      } else if ((buf[off + 15] & 5) == 4 && hydra_memsearch(buf, i, snmpv3_nouser, sizeof(snmpv3_nouser)) >= 0) {      // user doe...
                                                                     ^~~~~~~~~~~~~
./hydra-mod.h:39:60: note: passing argument to parameter 'needle' here
extern int hydra_memsearch(char *haystack, int hlen, char *needle, int nlen);
                                                           ^
hydra-snmp.c:529:24: warning: passing 'unsigned char [64]' to parameter of type 'char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      hydra_send(sock, snmpv3_init, sizeof(snmpv3_init), 0);
                       ^~~~~~~~~~~
./hydra-mod.h:30:41: note: passing argument to parameter 'buf' here
extern int hydra_send(int socket, char *buf, int size, int options);
                                        ^
hydra-snmp.c:539:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
                hydra_dump_asciihex(snmpv3info, snmpv3infolen);
                                    ^~~~~~~~~~
./hydra-mod.h:34:48: note: passing argument to parameter 'string' here
extern void hydra_dump_asciihex(unsigned char *string, int length);
                                               ^
27 warnings generated.
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-cvs.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-smtp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-smtp-enum.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-sapr3.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-ssh.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-sshkey.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-teamspeak.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-postgres.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-rsh.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-rlogin.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-oracle-listener.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-svn.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-pcanywhere.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-sip.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-oracle-sid.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-oracle.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-vmauthd.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-asterisk.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-firebird.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-afp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-ncp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-http-proxy.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-http-form.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-irc.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-redis.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-rdp.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c crc32.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c d3des.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c bfg.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c ntlm.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c sasl.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
sasl.c:378:34: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *'
      [-Wsizeof-pointer-memaccess]
      memset(array[i], 0, sizeof(array[i]));
             ~~~~~~~~            ^~~~~~~~
sasl.c:378:34: note: did you mean to provide an explicit length?
      memset(array[i], 0, sizeof(array[i]));
                                 ^~~~~~~~
1 warning generated.
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hmacmd5.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c hydra-mod.c -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H 
clang: warning: argument unused during compilation: '-pie'
hydra-mod.c:838:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
    hydra_dump_data(buf, ret, text);
                    ^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
                                           ^
hydra-mod.c:853:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
        hydra_dump_data(buf, ret, text);
                        ^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
                                           ^
hydra-mod.c:859:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      hydra_dump_data(buf, ret, text);
                      ^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
                                           ^
hydra-mod.c:892:23: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
      hydra_dump_data("", -1, text);
                      ^~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
                                           ^
hydra-mod.c:929:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
    hydra_dump_data(buff, got, text);
                    ^~~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
                                           ^
hydra-mod.c:944:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with
      different sign [-Wpointer-sign]
    hydra_dump_data(buf, size, text);
                    ^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
                                           ^
hydra-mod.c:1091:24: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
    printf("%04hx:  ", i * 16);
            ~~~~~      ^~~~~~
            %04x
hydra-mod.c:1109:24: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
    printf("%04hx:  ", i * 16);
            ~~~~~      ^~~~~~
            %04x
hydra-mod.c:1245:24: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
    printf("%04hx:  ", i * 16);
            ~~~~~      ^~~~~~
            %04x
hydra-mod.c:1263:24: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
    printf("%04hx:  ", i * 16);
            ~~~~~      ^~~~~~
            %04x
10 warnings generated.
gcc -I. -O3 -I /opt/local/include -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lm    -o hydra  hydra.c hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o -lm -lcurses -lssl -lidn -lpcre -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib  -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H
clang: warning: argument unused during compilation: '-pie'
hydra.c:1228:9: warning: implicit declaration of function 'service_redis' is invalid in C99 [-Wimplicit-function-declaration]
        service_redis(hydra_targets[target_no]->ip, hydra_heads[head_no]->sp[1], options, hydra_options.miscptr, hydra_brains.ofp, h...
        ^
hydra.c:2312:10: warning: implicit declaration of function 'setupterm' is invalid in C99 [-Wimplicit-function-declaration]
    if (!setupterm(NULL, 1, NULL) && (tigetnum("colors") <= 0)) {
         ^
hydra.c:2312:39: warning: implicit declaration of function 'tigetnum' is invalid in C99 [-Wimplicit-function-declaration]
    if (!setupterm(NULL, 1, NULL) && (tigetnum("colors") <= 0)) {
                                      ^
3 warnings generated.
ld: warning: directory not found for option '-L/usr/local/lib'
ld: warning: directory not found for option '-L/lib'
ld: library not found for -lidn
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hydra] Error 1

This is the error now. I don't know why it's being cut above so just pasted here

3 warnings generated.
ld: warning: directory not found for option '-L/usr/local/lib'
ld: warning: directory not found for option '-L/lib'
ld: library not found for -lidn
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hydra] Error 1

@vanhauser-thc
Copy link
Owner

can you please send the output of the following command:
./configure --debug
(in the hydra directory)

@nashlesigon
Copy link
Author

this is the output of that command.

Starting hydra auto configuration ...
Detected 64 Bit Darwin OS
Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ...
                                                       ... found
Checking for idn (libidn.so) ...
                             ... found
Checking for curses (libcurses.so / term.h) ...
                                            ... found, color output enabled
Checking for pcre (libpcre.so, pcre.h) ...
                                       ... found
Checking for Postgres (libpq.so, libpq-fe.h) ...
                                             ... NOT found, module postgres disabled
Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ...
                                                               ... NOT found, module svn disabled
Checking for firebird (libfbclient.so) ...
                                       ... NOT found, module firebird disabled
Checking for MYSQL client (libmysqlclient.so, math.h) ...
                                                      ... NOT found, module Mysql will not support version > 4.x
Checking for AFP (libafpclient.so) ...
                                   ... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway
Checking for NCP (libncp.so / nwcalls.h) ...
                                         ... NOT found, module NCP disabled
Checking for SAP/R3 (librfc/saprfc.h) ...
                                      ... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) ...
                                      ... NOT found, module ssh disabled
Get it from http://www.libssh.org
Checking for Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ...
                                                                    ... NOT found, module Oracle disabled
Get basic and sdk package from http://www.oracle.com/technetwork/database/features/instant-client/index.html
Checking for GUI req's (pkg-config, gtk+-2.0) ...
                                              ... NOT found, optional anyway
Checking for Android specialities ...
                                  ... rindex() found
                                  ... RSA_generate_key() found
Checking for secure compile option support in gcc ...
                                                  Compiling... yes
                                                  Linking... no
Hydra will be installed into .../bin of: /usr/local
  (change this by running ./configure --prefix=path)
Writing Makefile.in ...
now type "make"

@vanhauser-thc
Copy link
Owner

can you please checkout the current version here and then send in the output of "./configure --debug" ?

@lodr74
Copy link

lodr74 commented Apr 2, 2015

Im having the same problem. I cloned the current version and the ./configure --debug results are below:

Starting hydra auto configuration ...
Detected 64 Bit Darwin OS

Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ...
DEBUG: SSL_LIB= /lib64 /usr/lib64 /usr/local/lib64 /opt/local/lib64 /Library/Developer/CommandLineTools/usr/lib /Library/Developer/CommandLineTools/lib /lib /usr/lib /usr/local/lib /opt/local/lib
DEBUG: SSL_INC=/usr/include /usr/local/include /opt/include /opt/local/include
DEBUG: SSL_PATH=/usr/lib/libssl
DEBUG: CRYPTO_PATH=/usr/lib/libcrypto
DEBUG: SSL_INC=/usr/include/openssl/ssl.h
... found
Checking for idn (libidn.so) ...
DEBUG: IDN_PATH=/opt/local/lib/libidn
DEBUG: IDN_IPATH=/opt/local/include/stringprep.h
DEBUG: PR29_IPATH=/opt/local/include/pr29.h
... found
Checking for curses (libcurses.so / term.h) ...
DEBUG: CURSES_PATH=/usr/lib/libcurses
DEBUG: CURSES_IPATH=/opt/local/include/term.h
... found, color output enabled
Checking for pcre (libpcre.so, pcre.h) ...
DEBUG: PCRE_PATH=/usr/lib/libpcre
DEBUG: PCRE_IPATH=/opt/local/include/pcre.h
... found
Checking for Postgres (libpq.so, libpq-fe.h) ...
DEBUG: POSTGRES_PATH=/usr/lib/libpq
DEBUG: POSTGRES_IPATH=/libpq-fe.h
... NOT found, module postgres disabled
Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ...
DEBUG: SVN_PATH=/Library/Developer/CommandLineTools/usr/lib/libsvn_client-1
DEBUG: APR_PATH=/usr/lib/libapr
DEBUG: SVN_IPATH=/usr/include/apr-1/
DEBUG: APR_IPATH=/usr/include/apr-1/
... NOT found, module svn disabled
Checking for firebird (libfbclient.so) ...
DEBUG: FIREBIRD_PATH=/libfbclient
DEBUG: FIREBIRD_IPATH=/ibase.h
... NOT found, module firebird disabled
Checking for MYSQL client (libmysqlclient.so, math.h) ...
DEBUG: MYSQL_PATH=/libmysqlclient
DEBUG: MYSQL_IPATH=/mysql.h
... NOT found, module Mysql will not support version > 4.x
Checking for AFP (libafpclient.so) ...
DEBUG: AFP_PATH=/libafpclient
DEBUG: AFP_IPATH=/afp.h
... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway
Checking for NCP (libncp.so / nwcalls.h) ...
DEBUG: NCP_PATH=/libncp
DEBUG: NCP_IPATH=/ncp/nwcalls.h
... NOT found, module NCP disabled
Checking for SAP/R3 (librfc/saprfc.h) ...
DEBUG: SAPR3_PATH=/lib64/librfc
DEBUG: SAPR3_IPATH=/saprfc.h
... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) ...
DEBUG: SSH_PATH=/libssh
DEBUG: SSH_IPATH=/libssh/libssh.h
... NOT found, module ssh disabled
Get it from http://www.libssh.org
Checking for Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ...
DEBUG: ORACLE_LIB= /lib64 /usr/lib64 /usr/local/lib64 /opt/local/lib64 /Library/Developer/CommandLineTools/usr/lib /Library/Developer/CommandLineTools/lib /lib /usr/lib /usr/local/lib /opt/local/lib
DEBUG: ORACLE_INC=/usr/include /usr/local/include /opt/include /opt/local/include
DEBUG: ORACLE_PATH=/libocci
DEBUG: ORACLE_PATH=/libaio
DEBUG: ORACLE_IPATH=/oci.h
... NOT found, module Oracle disabled
Get basic and sdk package from http://www.oracle.com/technetwork/database/features/instant-client/index.html
Checking for GUI req's (pkg-config, gtk+-2.0) ...
... NOT found, optional anyway
Checking for Android specialities ...
... rindex() found
... RSA_generate_key() found
Checking for secure compile option support in gcc ...
Compiling... yes
Linking... no

Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)

DEBUG: XDEFINES= -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H
DEBUG: XLIBS= -lcurses -lssl -lidn -lpcre -lcrypto
DEBUG: XLIBPATHS=-L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib
DEBUG: XIPATHS=
DEBUG: PREFIX=/usr/local
DEBUG: XHYDRA_SUPPORT=
DEBUG: STRIP=strip
Writing Makefile.in ...
now type "make"

gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lm -o hydra hydra.c hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o -lm -lcurses -lssl -lidn -lpcre -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib -DLIBOPENSSL -DLIBNCURSES -DLIBIDN -DHAVE_PR29_H -DHAVE_PCRE -DHAVE_MATH_H
clang: warning: argument unused during compilation: '-pie'
hydra.c:733:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
printf("[DEBUG] sizeof hydra_head: %d\n", sizeof(hydra_head));
~~ ^~~~~~~~~~~~~~~~~~
%lu
hydra.c:1254:9: warning: implicit declaration of function 'service_redis' is invalid in C99 [-Wimplicit-function-declaration]
service_redis(hydra_targets[target_no]->ip, hydra_heads[head_no]->sp[1], options, hydra_options.miscptr, hydra_brains.ofp, hydra_targets[target_no]->port);
^
hydra.c:2339:10: warning: implicit declaration of function 'setupterm' is invalid in C99 [-Wimplicit-function-declaration]
if (!setupterm(NULL, 1, NULL) && (tigetnum("colors") <= 0)) {
^
hydra.c:2339:39: warning: implicit declaration of function 'tigetnum' is invalid in C99 [-Wimplicit-function-declaration]
if (!setupterm(NULL, 1, NULL) && (tigetnum("colors") <= 0)) {
^
4 warnings generated.
ld: warning: directory not found for option '-L/lib'
ld: library not found for -lidn
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hydra] Error 1

And the error is correct.....there is no /lib

Now this will probably result in an error regarding 64-bit symbols.....so you will have to do a make clean & ./configure again.

This will probably result in fatal error: 'pcre.h' file not found:

sudo rudix install pcre will fix this.

After that I add -m32 to the CC line and I get:

  ...

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hydra] Error 1

If I add -m64 to the CC line I get:

Undefined symbols for architecture x86_64:
"_TLSv1_2_client_method", referenced from:
_internal__hydra_connect_to_ssl in hydra-mod.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [hydra] Error 1

So this is where I am stuck

@vanhauser-thc
Copy link
Owner

can you please checkout and retry? I hope I fixed it.

@Viss
Copy link

Viss commented Apr 18, 2015

+1 - also getting the same errors
Happy to be a guineapig

@vanhauser-thc
Copy link
Owner

@Viss did you try with the current version on github here?

@Viss
Copy link

Viss commented Apr 18, 2015

Viss@localhost-2:/tools> rm -rf hydra
Viss@localhost-2:
/tools> git clone https://github.com/vanhauser-thc/thc-hydra.git hydra
Cloning into 'hydra'...
remote: Counting objects: 652, done.
remote: Total 652 (delta 0), reused 0 (delta 0), pack-reused 652
Receiving objects: 100% (652/652), 1.10 MiB | 1023.00 KiB/s, done.
Resolving deltas: 100% (399/399), done.
Checking connectivity... done.
Viss@localhost-2:/tools> cd hydra
Viss@localhost-2:
/tools/hydra> ./configure

Starting hydra auto configuration ...
Detected 64 Bit Darwin OS

Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ...
... found
Checking for idn (libidn.so) ...
... NOT found, unicode logins and passwords will not be supported
Checking for curses (libcurses.so / term.h) ...
... found, color output enabled
Checking for pcre (libpcre.so, pcre.h) ...
... found
Checking for Postgres (libpq.so, libpq-fe.h) ...
... found
Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ...
... found
Checking for firebird (libfbclient.so) ...
... NOT found, module firebird disabled
Checking for MYSQL client (libmysqlclient.so, math.h) ...
... found
Checking for AFP (libafpclient.so) ...
... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway
Checking for NCP (libncp.so / nwcalls.h) ...
... NOT found, module NCP disabled
Checking for SAP/R3 (librfc/saprfc.h) ...
... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) ...
... NOT found, module ssh disabled
Get it from http://www.libssh.org
Checking for Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ...
... NOT found, module Oracle disabled
Get basic and sdk package from http://www.oracle.com/technetwork/database/features/instant-client/index.html
Checking for GUI req's (pkg-config, gtk+-2.0) ...
... found
Checking for Android specialities ...
... rindex() found
... RSA_generate_key() found
Checking for secure compile option support in gcc ...
Compiling... yes
Linking... no

Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)

Writing Makefile.in ...
now type "make"
Viss@localhost-2:~/tools/hydra> make
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o pw-inspector pw-inspector.c
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-vnc.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-pcnfs.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rexec.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-nntp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-socks5.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-telnet.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-cisco.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ftp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-imap.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-pop3.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-pop3.c: In function 'start_pop3':
hydra-pop3.c:143:7: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hydra-pop3.c:144:7: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hydra-pop3.c:145:7: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hydra-pop3.c:146:7: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-smb.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-smb.c: In function 'MakeKey':
hydra-smb.c:179:3: warning: 'DES_set_odd_parity' is deprecated (declared at /usr/include/openssl/des.h:219) [-Wdeprecated-declarations]
hydra-smb.c: In function 'DesEncrypt':
hydra-smb.c:188:3: warning: 'DES_set_key' is deprecated (declared at /usr/include/openssl/des.h:225) [-Wdeprecated-declarations]
hydra-smb.c:189:3: warning: 'DES_ecb_encrypt' is deprecated (declared at /usr/include/openssl/des.h:152) [-Wdeprecated-declarations]
hydra-smb.c: In function 'MakeNTLM':
hydra-smb.c:370:5: warning: 'MD4_Init' is deprecated (declared at /usr/include/openssl/md4.h:113) [-Wdeprecated-declarations]
hydra-smb.c:371:5: warning: 'MD4_Update' is deprecated (declared at /usr/include/openssl/md4.h:114) [-Wdeprecated-declarations]
hydra-smb.c:372:5: warning: 'MD4_Final' is deprecated (declared at /usr/include/openssl/md4.h:115) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-icq.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-cisco-enable.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ldap.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-mysql.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-mssql.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-xmpp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http-proxy-urlenum.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-snmp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-snmp.c: In function 'password_to_key_md5':
hydra-snmp.c:124:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hydra-snmp.c:133:5: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hydra-snmp.c:136:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
hydra-snmp.c:144:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hydra-snmp.c:145:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hydra-snmp.c:146:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
hydra-snmp.c: In function 'password_to_key_sha':
hydra-snmp.c:172:3: warning: 'SHA1_Init' is deprecated (declared at /usr/include/openssl/sha.h:121) [-Wdeprecated-declarations]
hydra-snmp.c:181:5: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
hydra-snmp.c:184:3: warning: 'SHA1_Final' is deprecated (declared at /usr/include/openssl/sha.h:123) [-Wdeprecated-declarations]
hydra-snmp.c:192:3: warning: 'SHA1_Init' is deprecated (declared at /usr/include/openssl/sha.h:121) [-Wdeprecated-declarations]
hydra-snmp.c:193:3: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
hydra-snmp.c:194:3: warning: 'SHA1_Final' is deprecated (declared at /usr/include/openssl/sha.h:123) [-Wdeprecated-declarations]
hydra-snmp.c: In function 'start_snmp':
hydra-snmp.c:338:7: warning: 'DES_key_sched' is deprecated (declared at /usr/include/openssl/des.h:226) [-Wdeprecated-declarations]
hydra-snmp.c:339:7: warning: 'DES_ncbc_encrypt' is deprecated (declared at /usr/include/openssl/des.h:143) [-Wdeprecated-declarations]
hydra-snmp.c:370:7: warning: 'HMAC' is deprecated (declared at /usr/include/openssl/hmac.h:101) [-Wdeprecated-declarations]
hydra-snmp.c:370:7: warning: 'EVP_md5' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
hydra-snmp.c:373:7: warning: 'HMAC' is deprecated (declared at /usr/include/openssl/hmac.h:101) [-Wdeprecated-declarations]
hydra-snmp.c:373:7: warning: 'EVP_sha1' is deprecated (declared at /usr/include/openssl/evp.h:666) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-cvs.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-smtp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-smtp-enum.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-sapr3.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ssh.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-sshkey.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-teamspeak.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-postgres.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rsh.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rlogin.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-oracle-listener.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-oracle-listener.c: In function 'ora_descrypt':
hydra-oracle-listener.c:119:3: warning: 'DES_key_sched' is deprecated (declared at /usr/include/openssl/des.h:226) [-Wdeprecated-declarations]
hydra-oracle-listener.c:120:3: warning: 'DES_ncbc_encrypt' is deprecated (declared at /usr/include/openssl/des.h:143) [-Wdeprecated-declarations]
hydra-oracle-listener.c:126:3: warning: 'DES_key_sched' is deprecated (declared at /usr/include/openssl/des.h:226) [-Wdeprecated-declarations]
hydra-oracle-listener.c:129:3: warning: 'DES_ncbc_encrypt' is deprecated (declared at /usr/include/openssl/des.h:143) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-svn.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-svn.c: In function 'start_svn':
hydra-svn.c:82:3: warning: 'svn_client_create_context' is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:1048) [-Wdeprecated-declarations]
hydra-svn.c:107:3: warning: 'svn_client_list2' is deprecated (declared at /usr/local/include/subversion-1/svn_client.h:5512) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-pcanywhere.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-sip.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-oracle-sid.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-oracle.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-vmauthd.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-asterisk.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-firebird.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-afp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ncp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http-proxy.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http-form.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-http-form.c: In function 'start_http_form':
hydra-http-form.c:852:8: warning: passing argument 1 of 'process_cookies' from incompatible pointer type [enabled by default]
hydra-http-form.c:209:5: note: expected 'struct cookie_node *_' but argument is of type 'ptr_cookie_node'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-irc.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-redis.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rdp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-rdp.c: In function 'ssl_sha1_init':
hydra-rdp.c:818:3: warning: 'SHA1_Init' is deprecated (declared at /usr/include/openssl/sha.h:121) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_sha1_update':
hydra-rdp.c:822:3: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_sha1_final':
hydra-rdp.c:826:3: warning: 'SHA1_Final' is deprecated (declared at /usr/include/openssl/sha.h:123) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_md5_init':
hydra-rdp.c:830:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_md5_update':
hydra-rdp.c:834:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_md5_final':
hydra-rdp.c:838:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_rc4_set_key':
hydra-rdp.c:842:3: warning: 'RC4_set_key' is deprecated (declared at /usr/include/openssl/rc4.h:84) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_rc4_crypt':
hydra-rdp.c:846:3: warning: 'RC4' is deprecated (declared at /usr/include/openssl/rc4.h:85) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_rsa_encrypt':
hydra-rdp.c:871:3: warning: 'BN_CTX_new' is deprecated (declared at /usr/include/openssl/bn.h:403) [-Wdeprecated-declarations]
hydra-rdp.c:872:3: warning: 'BN_init' is deprecated (declared at /usr/include/openssl/bn.h:418) [-Wdeprecated-declarations]
hydra-rdp.c:873:3: warning: 'BN_init' is deprecated (declared at /usr/include/openssl/bn.h:418) [-Wdeprecated-declarations]
hydra-rdp.c:874:3: warning: 'BN_init' is deprecated (declared at /usr/include/openssl/bn.h:418) [-Wdeprecated-declarations]
hydra-rdp.c:875:3: warning: 'BN_init' is deprecated (declared at /usr/include/openssl/bn.h:418) [-Wdeprecated-declarations]
hydra-rdp.c:877:3: warning: 'BN_bin2bn' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
hydra-rdp.c:878:3: warning: 'BN_bin2bn' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
hydra-rdp.c:879:3: warning: 'BN_bin2bn' is deprecated (declared at /usr/include/openssl/bn.h:422) [-Wdeprecated-declarations]
hydra-rdp.c:880:3: warning: 'BN_mod_exp' is deprecated (declared at /usr/include/openssl/bn.h:474) [-Wdeprecated-declarations]
hydra-rdp.c:881:3: warning: 'BN_bn2bin' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
hydra-rdp.c:886:3: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468) [-Wdeprecated-declarations]
hydra-rdp.c:887:3: warning: 'BN_clear_free' is deprecated (declared at /usr/include/openssl/bn.h:419) [-Wdeprecated-declarations]
hydra-rdp.c:888:3: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468) [-Wdeprecated-declarations]
hydra-rdp.c:889:3: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468) [-Wdeprecated-declarations]
hydra-rdp.c:890:3: warning: 'BN_CTX_free' is deprecated (declared at /usr/include/openssl/bn.h:407) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_cert_to_rkey':
hydra-rdp.c:914:3: warning: 'OBJ_obj2nid' is deprecated (declared at /usr/include/openssl/objects.h:1009) [-Wdeprecated-declarations]
hydra-rdp.c:917:5: warning: 'ASN1_OBJECT_free' is deprecated (declared at /usr/include/openssl/asn1.h:776) [-Wdeprecated-declarations]
hydra-rdp.c:918:5: warning: 'OBJ_nid2obj' is deprecated (declared at /usr/include/openssl/objects.h:1006) [-Wdeprecated-declarations]
hydra-rdp.c:920:3: warning: 'X509_get_pubkey' is deprecated (declared at /usr/include/openssl/x509.h:1017) [-Wdeprecated-declarations]
hydra-rdp.c:926:3: warning: 'RSAPublicKey_dup' is deprecated (declared at /usr/include/openssl/rsa.h:394) [-Wdeprecated-declarations]
hydra-rdp.c:926:3: warning: 'EVP_PKEY_get1_RSA' is deprecated (declared at /usr/include/openssl/evp.h:859) [-Wdeprecated-declarations]
hydra-rdp.c:927:3: warning: 'EVP_PKEY_free' is deprecated (declared at /usr/include/openssl/evp.h:878) [-Wdeprecated-declarations]
hydra-rdp.c:928:3: warning: 'RSA_size' is deprecated (declared at /usr/include/openssl/rsa.h:256) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_cert_print_fp':
hydra-rdp.c:933:3: warning: 'X509_print_fp' is deprecated (declared at /usr/include/openssl/x509.h:1079) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_rkey_free':
hydra-rdp.c:937:3: warning: 'RSA_free' is deprecated (declared at /usr/include/openssl/rsa.h:282) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_rkey_get_exp_mod':
hydra-rdp.c:944:3: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415) [-Wdeprecated-declarations]
hydra-rdp.c:944:3: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415) [-Wdeprecated-declarations]
hydra-rdp.c:947:3: warning: 'BN_bn2bin' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
hydra-rdp.c:949:3: warning: 'BN_bn2bin' is deprecated (declared at /usr/include/openssl/bn.h:423) [-Wdeprecated-declarations]
hydra-rdp.c: In function 'ssl_hmac_md5':
hydra-rdp.c:963:3: warning: 'HMAC_CTX_init' is deprecated (declared at /usr/include/openssl/hmac.h:90) [-Wdeprecated-declarations]
hydra-rdp.c:964:3: warning: 'HMAC' is deprecated (declared at /usr/include/openssl/hmac.h:101) [-Wdeprecated-declarations]
hydra-rdp.c:964:3: warning: 'EVP_md5' is deprecated (declared at /usr/include/openssl/evp.h:662) [-Wdeprecated-declarations]
hydra-rdp.c:965:3: warning: 'HMAC_CTX_cleanup' is deprecated (declared at /usr/include/openssl/hmac.h:91) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c crc32.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c d3des.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c bfg.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c ntlm.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c sasl.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
sasl.c: In function 'sasl_cram_md5':
sasl.c:148:5: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:149:5: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:150:5: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c:162:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:163:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:164:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:165:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c:167:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:168:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:169:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:170:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c: In function 'sasl_cram_sha1':
sasl.c:210:5: warning: 'SHA1_Init' is deprecated (declared at /usr/include/openssl/sha.h:121) [-Wdeprecated-declarations]
sasl.c:211:5: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
sasl.c:212:5: warning: 'SHA1_Final' is deprecated (declared at /usr/include/openssl/sha.h:123) [-Wdeprecated-declarations]
sasl.c:225:3: warning: 'SHA1_Init' is deprecated (declared at /usr/include/openssl/sha.h:121) [-Wdeprecated-declarations]
sasl.c:226:3: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
sasl.c:227:3: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
sasl.c:228:3: warning: 'SHA1_Final' is deprecated (declared at /usr/include/openssl/sha.h:123) [-Wdeprecated-declarations]
sasl.c:230:3: warning: 'SHA1_Init' is deprecated (declared at /usr/include/openssl/sha.h:121) [-Wdeprecated-declarations]
sasl.c:231:3: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
sasl.c:232:3: warning: 'SHA1_Update' is deprecated (declared at /usr/include/openssl/sha.h:122) [-Wdeprecated-declarations]
sasl.c:233:3: warning: 'SHA1_Final' is deprecated (declared at /usr/include/openssl/sha.h:123) [-Wdeprecated-declarations]
sasl.c: In function 'sasl_cram_sha256':
sasl.c:274:5: warning: 'SHA256_Init' is deprecated (declared at /usr/include/openssl/sha.h:147) [-Wdeprecated-declarations]
sasl.c:275:5: warning: 'SHA256_Update' is deprecated (declared at /usr/include/openssl/sha.h:148) [-Wdeprecated-declarations]
sasl.c:276:5: warning: 'SHA256_Final' is deprecated (declared at /usr/include/openssl/sha.h:149) [-Wdeprecated-declarations]
sasl.c:289:3: warning: 'SHA256_Init' is deprecated (declared at /usr/include/openssl/sha.h:147) [-Wdeprecated-declarations]
sasl.c:290:3: warning: 'SHA256_Update' is deprecated (declared at /usr/include/openssl/sha.h:148) [-Wdeprecated-declarations]
sasl.c:291:3: warning: 'SHA256_Update' is deprecated (declared at /usr/include/openssl/sha.h:148) [-Wdeprecated-declarations]
sasl.c:292:3: warning: 'SHA256_Final' is deprecated (declared at /usr/include/openssl/sha.h:149) [-Wdeprecated-declarations]
sasl.c:294:3: warning: 'SHA256_Init' is deprecated (declared at /usr/include/openssl/sha.h:147) [-Wdeprecated-declarations]
sasl.c:295:3: warning: 'SHA256_Update' is deprecated (declared at /usr/include/openssl/sha.h:148) [-Wdeprecated-declarations]
sasl.c:296:3: warning: 'SHA256_Update' is deprecated (declared at /usr/include/openssl/sha.h:148) [-Wdeprecated-declarations]
sasl.c:297:3: warning: 'SHA256_Final' is deprecated (declared at /usr/include/openssl/sha.h:149) [-Wdeprecated-declarations]
sasl.c: In function 'sasl_digest_md5':
sasl.c:497:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:498:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:499:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c:519:5: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:520:5: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:521:5: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c:546:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:547:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:548:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c:561:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
sasl.c:562:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:563:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:564:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
sasl.c:565:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
sasl.c: In function 'sasl_scram_sha1':
sasl.c:691:3: warning: 'PKCS5_PBKDF2_HMAC_SHA1' is deprecated (declared at /usr/include/openssl/evp.h:911) [-Wdeprecated-declarations]
sasl.c:700:3: warning: 'HMAC' is deprecated (declared at /usr/include/openssl/hmac.h:101) [-Wdeprecated-declarations]
sasl.c:700:3: warning: 'EVP_sha1' is deprecated (declared at /usr/include/openssl/evp.h:666) [-Wdeprecated-declarations]
sasl.c:703:3: warning: 'SHA1' is deprecated (declared at /usr/include/openssl/sha.h:124) [-Wdeprecated-declarations]
sasl.c:707:3: warning: 'HMAC' is deprecated (declared at /usr/include/openssl/hmac.h:101) [-Wdeprecated-declarations]
sasl.c:707:3: warning: 'EVP_sha1' is deprecated (declared at /usr/include/openssl/evp.h:666) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hmacmd5.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hmacmd5.c: In function 'hmac_md5_init_rfc2104':
hmacmd5.c:45:5: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hmacmd5.c:46:5: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hmacmd5.c:47:5: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
hmacmd5.c:65:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hmacmd5.c:66:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hmacmd5.c: In function 'hmac_md5_init_limK_to_64':
hmacmd5.c:93:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hmacmd5.c:94:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hmacmd5.c: In function 'hmac_md5_update':
hmacmd5.c:102:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hmacmd5.c: In function 'hmac_md5_final':
hmacmd5.c:112:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
hmacmd5.c:114:3: warning: 'MD5_Init' is deprecated (declared at /usr/include/openssl/md5.h:113) [-Wdeprecated-declarations]
hmacmd5.c:115:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hmacmd5.c:116:3: warning: 'MD5_Update' is deprecated (declared at /usr/include/openssl/md5.h:114) [-Wdeprecated-declarations]
hmacmd5.c:117:3: warning: 'MD5_Final' is deprecated (declared at /usr/include/openssl/md5.h:115) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-mod.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1
hydra-mod.c: In function 'ssl_temp_rsa_cb':
hydra-mod.c:443:3: warning: 'RSA_size' is deprecated (declared at /usr/include/openssl/rsa.h:256) [-Wdeprecated-declarations]
hydra-mod.c:444:7: warning: 'RSA_free' is deprecated (declared at /usr/include/openssl/rsa.h:282) [-Wdeprecated-declarations]
hydra-mod.c:453:5: warning: 'RSA_generate_key' is deprecated (declared at /usr/include/openssl/rsa.h:260) [-Wdeprecated-declarations]
hydra-mod.c: In function 'internal__hydra_connect_to_ssl':
hydra-mod.c:464:5: warning: 'SSL_load_error_strings' is deprecated (declared at /usr/include/openssl/ssl.h:1421) [-Wdeprecated-declarations]
hydra-mod.c:466:5: warning: 'SSL_library_init' is deprecated (declared at /usr/include/openssl/ssl.h:1558) [-Wdeprecated-declarations]
hydra-mod.c:473:7: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1351) [-Wdeprecated-declarations]
hydra-mod.c:473:7: warning: 'SSLv23_client_method' is deprecated (declared at /usr/include/openssl/ssl.h:1522) [-Wdeprecated-declarations]
hydra-mod.c:475:11: warning: 'ERR_get_error' is deprecated (declared at /usr/include/openssl/err.h:266) [-Wdeprecated-declarations]
hydra-mod.c:476:11: warning: 'ERR_error_string' is deprecated (declared at /usr/include/openssl/err.h:279) [-Wdeprecated-declarations]
hydra-mod.c:482:7: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1351) [-Wdeprecated-declarations]
hydra-mod.c:482:7: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast [enabled by default]
In file included from hydra-mod.c:4:0:
/usr/include/openssl/ssl.h:1351:10: note: expected 'struct SSL_METHOD *' but argument is of type 'int'
hydra-mod.c:484:11: warning: 'ERR_get_error' is deprecated (declared at /usr/include/openssl/err.h:266) [-Wdeprecated-declarations]
hydra-mod.c:485:11: warning: 'ERR_error_string' is deprecated (declared at /usr/include/openssl/err.h:279) [-Wdeprecated-declarations]
hydra-mod.c:491:5: warning: 'SSL_CTX_ctrl' is deprecated (declared at /usr/include/openssl/ssl.h:1503) [-Wdeprecated-declarations]
hydra-mod.c:496:5: warning: 'SSL_CTX_set_default_verify_paths' is deprecated (declared at /usr/include/openssl/ssl.h:1575) [-Wdeprecated-declarations]
hydra-mod.c:497:5: warning: 'SSL_CTX_set_tmp_rsa_callback' is deprecated (declared at /usr/include/openssl/ssl.h:1634) [-Wdeprecated-declarations]
hydra-mod.c:498:5: warning: 'SSL_CTX_set_verify' is deprecated (declared at /usr/include/openssl/ssl.h:1463) [-Wdeprecated-declarations]
hydra-mod.c:501:3: warning: 'SSL_new' is deprecated (declared at /usr/include/openssl/ssl.h:1486) [-Wdeprecated-declarations]
hydra-mod.c:503:7: warning: 'ERR_get_error' is deprecated (declared at /usr/include/openssl/err.h:266) [-Wdeprecated-declarations]
hydra-mod.c:504:7: warning: 'ERR_error_string' is deprecated (declared at /usr/include/openssl/err.h:279) [-Wdeprecated-declarations]
hydra-mod.c:506:5: warning: 'SSL_set_bio' is deprecated (declared at /usr/include/openssl/ssl.h:1380) [-Wdeprecated-declarations]
hydra-mod.c:507:5: warning: 'SSL_clear' is deprecated (declared at /usr/include/openssl/ssl.h:1358) [-Wdeprecated-declarations]
hydra-mod.c:511:3: warning: 'SSL_set_fd' is deprecated (declared at /usr/include/openssl/ssl.h:1375) [-Wdeprecated-declarations]
hydra-mod.c:512:3: warning: 'SSL_connect' is deprecated (declared at /usr/include/openssl/ssl.h:1497) [-Wdeprecated-declarations]
hydra-mod.c:515:7: warning: 'ERR_get_error' is deprecated (declared at /usr/include/openssl/err.h:266) [-Wdeprecated-declarations]
hydra-mod.c:516:7: warning: 'ERR_error_string' is deprecated (declared at /usr/include/openssl/err.h:279) [-Wdeprecated-declarations]
hydra-mod.c:522:5: warning: 'SSL_CIPHER_get_name' is deprecated (declared at /usr/include/openssl/ssl.h:1365) [-Wdeprecated-declarations]
hydra-mod.c:522:5: warning: 'SSL_get_current_cipher' is deprecated (declared at /usr/include/openssl/ssl.h:1362) [-Wdeprecated-declarations]
hydra-mod.c: In function 'internal__hydra_recv':
hydra-mod.c:542:5: warning: 'SSL_read' is deprecated (declared at /usr/include/openssl/ssl.h:1498) [-Wdeprecated-declarations]
hydra-mod.c: In function 'internal__hydra_send':
hydra-mod.c:551:5: warning: 'SSL_write' is deprecated (declared at /usr/include/openssl/ssl.h:1500) [-Wdeprecated-declarations]
hydra-mod.c: In function 'hydra_disconnect':
hydra-mod.c:808:3: warning: 'SSL_get_fd' is deprecated (declared at /usr/include/openssl/ssl.h:1367) [-Wdeprecated-declarations]
hydra-mod.c:810:5: warning: 'SSL_set_bio' is deprecated (declared at /usr/include/openssl/ssl.h:1380) [-Wdeprecated-declarations]
hydra-mod.c:811:5: warning: 'SSL_clear' is deprecated (declared at /usr/include/openssl/ssl.h:1358) [-Wdeprecated-declarations]
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lm -o hydra hydra.c hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o -lm -lcurses -lssl -lpcre -lmysqlclient -lpq -lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1 -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib -L/Library/Developer/CommandLineTools/usr/lib -L/usr/lib -L/usr/local/lib -I/usr/local/include/mysql -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/subversion-1 -I/usr/include/apr-1 -I/usr/local/include/subversion-1 -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DHAVE_PCRE -DLIBMYSQLCLIENT -DLIBPOSTGRES -DLIBSVN -DHAVE_MATH_H
ld: warning: directory not found for option '-L/lib'
Undefined symbols for architecture x86_64:
"_TLSv1_2_client_method", referenced from:
internal__hydra_connect_to_ssl in hydra-mod.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *
* [hydra] Error 1

@vanhauser-thc
Copy link
Owner

@Viss your compile problem has got nothing to do with this problem here :)

can you please send the output of "./configure --debug" ?

@rodvan
Copy link

rodvan commented Apr 22, 2015

Im having the same issue here.

gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o pw-inspector pw-inspector.c
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-vnc.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-pcnfs.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rexec.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-nntp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-socks5.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-telnet.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-cisco.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-http.c:204:74: warning: format specifies type 'char ' but the argument has type 'char' [-Wformat]
fprintf(stderr, "[WARNING] Unusual return code: %.3s for %s:%s\n", (char) *ptr, login, pass);
~~~~ ^~~~~~~~~~~
%c
1 warning generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ftp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-imap.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-pop3.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-pop3.c:143:7: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Init(&c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-pop3.c:144:7: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&c, apop_challenge, strlen(apop_challenge));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-pop3.c:145:7: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&c, pass, strlen(pass));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-pop3.c:146:7: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(md5_raw, &c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
4 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-smb.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-smb.c:179:3: warning: 'DES_set_odd_parity' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_set_odd_parity((des_cblock *) des_key);
^
/usr/include/openssl/des_old.h:203:2: note: expanded from macro 'des_set_odd_parity'
DES_set_odd_parity((k))
^
/usr/include/openssl/des.h:219:6: note: 'DES_set_odd_parity' has been explicitly marked deprecated here
void DES_set_odd_parity(DES_cblock *key) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-smb.c:188:3: warning: 'DES_set_key' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_set_key(&des_key, key_schedule);
^
/usr/include/openssl/des_old.h:209:2: note: expanded from macro 'des_set_key'
DES_set_key((k),&(ks))
^
/usr/include/openssl/des.h:225:5: note: 'DES_set_key' has been explicitly marked deprecated here
int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule) DEPRECATED_IN_MAC_OS_X_VERSION_10
...
^
hydra-smb.c:189:3: warning: 'DES_ecb_encrypt' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_ecb_encrypt((des_cblock *) clear, (des_cblock *) cipher, key_schedule, 1);
^
/usr/include/openssl/des_old.h:163:2: note: expanded from macro 'des_ecb_encrypt'
DES_ecb_encrypt((i),(o),&(k),(e))
^
/usr/include/openssl/des.h:152:6: note: 'DES_ecb_encrypt' has been explicitly marked deprecated here
void DES_ecb_encrypt(const_DES_cblock *input,DES_cblock *output,
^
hydra-smb.c:370:5: warning: 'MD4_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD4_Init(&md4Context);
^
/usr/include/openssl/md4.h:113:5: note: 'MD4_Init' has been explicitly marked deprecated here
int MD4_Init(MD4_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-smb.c:371:5: warning: 'MD4_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD4_Update(&md4Context, unicodePassword, mdlen);
^
/usr/include/openssl/md4.h:114:5: note: 'MD4_Update' has been explicitly marked deprecated here
int MD4_Update(MD4_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-smb.c:372:5: warning: 'MD4_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD4_Final(hash, &md4Context); /_ Tell MD4 we're done /
^
/usr/include/openssl/md4.h:115:5: note: 'MD4_Final' has been explicitly marked deprecated here
int MD4_Final(unsigned char *md, MD4_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-smb.c:1192:55: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if (/
(bufReceive == NULL) ||/ (nReceiveBufferSize == 0))
~~~~~~~~~~~~~~~~~~~^~~~
hydra-smb.c:1192:55: note: remove extraneous parentheses around the comparison to silence this warning
if (/
(bufReceive == NULL) ||/ (nReceiveBufferSize == 0))
~ ^ ~
hydra-smb.c:1192:55: note: use '=' to turn this equality comparison into an assignment
if (/
(bufReceive == NULL) ||_/ (nReceiveBufferSize == 0))
^~
=
7 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-icq.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-cisco-enable.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ldap.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-mysql.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-mssql.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-xmpp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http-proxy-urlenum.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-snmp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-snmp.c:106:14: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *'
converts between pointers to integer types with different sign [-Wpointer-sign]
if (strlen(password) > passwordlen)
^~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
hydra-snmp.c:107:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *'
converts between pointers to integer types with different sign [-Wpointer-sign]
passwordlen = strlen(password);
^~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t strlen(const char *);
^
hydra-snmp.c:114:12: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers
to integer types with different sign [-Wpointer-sign]
strcpy(bpass, password);
^~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^
hydra-snmp.c:114:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *'
converts between pointers to integer types with different sign [-Wpointer-sign]
strcpy(bpass, password);
^~~~~~~~
/usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^
hydra-snmp.c:116:14: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers
to integer types with different sign [-Wpointer-sign]
strcat(bpass, password);
^~~~~
/usr/include/secure/_string.h:125:27: note: expanded from macro 'strcat'
__builtin___strcat_chk (dest, src, __darwin_obsz (dest))
^
hydra-snmp.c:116:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *'
converts between pointers to integer types with different sign [-Wpointer-sign]
strcat(bpass, password);
^~~~~~~~
/usr/include/secure/_string.h:125:33: note: expanded from macro 'strcat'
__builtin___strcat_chk (dest, src, _darwin_obsz (dest))
^
hydra-snmp.c:124:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Init(&MD); /
initialize MD5 /
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:133:5: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&MD, password_buf, 64);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:136:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(key, &MD); /
tell MD5 we're done _/
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:144:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Init(&MD);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:145:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&MD, password_buf, 32 + myelen);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:146:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(key, &MD);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:161:12: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers
to integer types with different sign [-Wpointer-sign]
strcpy(bpass, password);
^~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^
hydra-snmp.c:161:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *'
converts between pointers to integer types with different sign [-Wpointer-sign]
strcpy(bpass, password);
^~~~~~~~
/usr/include/secure/_string.h:83:33: note: expanded from macro 'strcpy'
__builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
^
hydra-snmp.c:163:14: warning: passing 'u_char [17]' to parameter of type 'char *' converts between pointers
to integer types with different sign [-Wpointer-sign]
strcat(bpass, password);
^~~~~
/usr/include/secure/_string.h:125:27: note: expanded from macro 'strcat'
__builtin___strcat_chk (dest, src, __darwin_obsz (dest))
^
hydra-snmp.c:163:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *'
converts between pointers to integer types with different sign [-Wpointer-sign]
strcat(bpass, password);
^~~~~~~~
/usr/include/secure/_string.h:125:33: note: expanded from macro 'strcat'
__builtin___strcat_chk (dest, src, _darwin_obsz (dest))
^
hydra-snmp.c:172:3: warning: 'SHA1_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Init(&SH); /
initialize SHA /
^
/usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' has been explicitly marked deprecated here
int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:181:5: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&SH, password_buf, 64);
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:184:3: warning: 'SHA1_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Final(key, &SH); /
tell SHA we're done /
^
/usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' has been explicitly marked deprecated here
int SHA1_Final(unsigned char *md, SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:192:3: warning: 'SHA1_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Init(&SH);
^
/usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' has been explicitly marked deprecated here
int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:193:3: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&SH, password_buf, 40 + myelen);
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:194:3: warning: 'SHA1_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Final(key, &SH);
^
/usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' has been explicitly marked deprecated here
int SHA1_Final(unsigned char *md, SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:259:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]
password_to_key_md5(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
^~~~
hydra-snmp.c:97:35: note: passing argument to parameter 'password' here
void password_to_key_md5(u_char * password, /
IN /
^
hydra-snmp.c:259:49: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]
password_to_key_md5(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
^~~~~~~~~~~~~~
hydra-snmp.c:99:35: note: passing argument to parameter 'engineID' here
u_char * engineID, /
IN - pointer to snmpEngineID /
^
hydra-snmp.c:259:80: warning: passing 'char [256]' to parameter of type 'u_char *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]
password_to_key_md5(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
^~~
hydra-snmp.c:101:35: note: passing argument to parameter 'key' here
u_char * key) { /
OUT - pointer to caller 16-octet buffer /
^
hydra-snmp.c:261:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]
password_to_key_sha(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
^~~~
hydra-snmp.c:150:35: note: passing argument to parameter 'password' here
void password_to_key_sha(u_char * password, /
IN /
^
hydra-snmp.c:261:49: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]
password_to_key_sha(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
^~~~~~~~~~~~~~
hydra-snmp.c:152:35: note: passing argument to parameter 'engineID' here
u_char * engineID, /
IN - pointer to snmpEngineID /
^
hydra-snmp.c:261:80: warning: passing 'char [256]' to parameter of type 'u_char *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]
password_to_key_sha(pass, strlen(pass), snmpv3info + 6, snmpv3info[5], key);
^~~
hydra-snmp.c:154:35: note: passing argument to parameter 'key' here
u_char * key) { /
OUT - pointer to caller 20-octet buffer /
^
hydra-snmp.c:319:47: warning: '/
' within block comment [-Wcomment]
// const unsigned int /key_len///,
^
hydra-snmp.c:338:7: warning: 'DES_key_sched' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_key_sched((C_Block ) key, symcbc);
^
/usr/include/openssl/des_old.h:211:2: note: expanded from macro 'des_key_sched'
DES_key_sched((k),&(ks))
^
/usr/include/openssl/des.h:226:5: note: 'DES_key_sched' has been explicitly marked deprecated here
int DES_key_sched(const_DES_cblock *key,DES_key_schedule *schedule) DEPRECATED_IN_MAC_OS_X_VERSION_1...
^
hydra-snmp.c:339:7: warning: 'DES_ncbc_encrypt' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_ncbc_encrypt(snmpv3_get2 + 2, buf, sizeof(snmpv3_get2) - 2, symcbc, (C_Block *) (initVect)...
^
/usr/include/openssl/des_old.h:157:2: note: expanded from macro 'des_ncbc_encrypt'
DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
^
/usr/include/openssl/des.h:143:6: note: 'DES_ncbc_encrypt' has been explicitly marked deprecated here
void DES_ncbc_encrypt(const unsigned char *input,unsigned char *output,
^
hydra-snmp.c:339:7: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
...des_ncbc_encrypt(snmpv3_get2 + 2, buf, sizeof(snmpv3_get2) - 2, symcbc, (C_Block *) (initVect), DES_ENCRYPT);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/des_old.h:157:23: note: expanded from macro 'des_ncbc_encrypt'
DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
^~~
/usr/include/openssl/des.h:143:65: note: passing argument to parameter 'output' here
void DES_ncbc_encrypt(const unsigned char *input,unsigned char *output,
^
hydra-snmp.c:370:7: warning: 'HMAC' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC((EVP_MD *) EVP_md5(), key, 16, buffer, i - 1, hash, NULL);
^
/usr/include/openssl/hmac.h:101:16: note: 'HMAC' has been explicitly marked deprecated here
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
^
hydra-snmp.c:370:23: warning: 'EVP_md5' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
HMAC((EVP_MD *) EVP_md5(), key, 16, buffer, i - 1, hash, NULL);
^
/usr/include/openssl/evp.h:662:15: note: 'EVP_md5' has been explicitly marked deprecated here
const EVP_MD *EVP_md5(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:370:43: warning: passing 'char [1024]' to parameter of type 'const unsigned char *' converts
between pointers to integer types with different sign [-Wpointer-sign]
HMAC((EVP_MD *) EVP_md5(), key, 16, buffer, i - 1, hash, NULL);
^~~~~~
/usr/include/openssl/hmac.h:102:28: note: passing argument to parameter 'd' here
const unsigned char *d, size_t n, unsigned char *md,
^
hydra-snmp.c:370:58: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
HMAC((EVP_MD *) EVP_md5(), key, 16, buffer, i - 1, hash, NULL);
^~~~
/usr/include/openssl/hmac.h:102:56: note: passing argument to parameter 'md' here
const unsigned char *d, size_t n, unsigned char *md,
^
hydra-snmp.c:373:7: warning: 'HMAC' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC((EVP_MD *) EVP_sha1(), key, 20, buffer, i - 1, hash, NULL);
^
/usr/include/openssl/hmac.h:101:16: note: 'HMAC' has been explicitly marked deprecated here
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
^
hydra-snmp.c:373:23: warning: 'EVP_sha1' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
HMAC((EVP_MD *) EVP_sha1(), key, 20, buffer, i - 1, hash, NULL);
^
/usr/include/openssl/evp.h:666:15: note: 'EVP_sha1' has been explicitly marked deprecated here
const EVP_MD *EVP_sha1(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-snmp.c:373:44: warning: passing 'char [1024]' to parameter of type 'const unsigned char *' converts
between pointers to integer types with different sign [-Wpointer-sign]
HMAC((EVP_MD *) EVP_sha1(), key, 20, buffer, i - 1, hash, NULL);
^~~~~~
/usr/include/openssl/hmac.h:102:28: note: passing argument to parameter 'd' here
const unsigned char *d, size_t n, unsigned char *md,
^
hydra-snmp.c:373:59: warning: passing 'char [64]' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
HMAC((EVP_MD *) EVP_sha1(), key, 20, buffer, i - 1, hash, NULL);
^~~~
/usr/include/openssl/hmac.h:102:56: note: passing argument to parameter 'md' here
const unsigned char *d, size_t n, unsigned char *md,
^
hydra-snmp.c:430:53: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
if ((j = hydra_memsearch(buf + k, buf[k + 3], snmpv3_nouser, sizeof(snmpv3_nouser))) < 0)
^~~~~~~~~~~~~
./hydra-mod.h:39:60: note: passing argument to parameter 'needle' here
extern int hydra_memsearch(char *haystack, int hlen, char *needle, int nlen);
^
hydra-snmp.c:444:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_asciihex(snmpv3info, snmpv3infolen);
^~~~~~~~~~
./hydra-mod.h:34:48: note: passing argument to parameter 'string' here
extern void hydra_dump_asciihex(unsigned char *string, int length);
^
hydra-snmp.c:456:70: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
} else if ((buf[off + 15] & 5) == 4 && hydra_memsearch(buf, i, snmpv3_nouser, sizeof(snmpv3_no...
^~~~~~~~~~~~~
./hydra-mod.h:39:60: note: passing argument to parameter 'needle' here
extern int hydra_memsearch(char *haystack, int hlen, char *needle, int nlen);
^
hydra-snmp.c:529:24: warning: passing 'unsigned char [64]' to parameter of type 'char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_send(sock, snmpv3_init, sizeof(snmpv3_init), 0);
^~~~~~~~~~~
./hydra-mod.h:30:41: note: passing argument to parameter 'buf' here
extern int hydra_send(int socket, char *buf, int size, int options);
^
hydra-snmp.c:539:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_asciihex(snmpv3info, snmpv3infolen);
^~~~~~~~~~
./hydra-mod.h:34:48: note: passing argument to parameter 'string' here
extern void hydra_dump_asciihex(unsigned char *string, int length);
^
45 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-cvs.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-smtp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-smtp-enum.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-sapr3.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ssh.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-sshkey.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-teamspeak.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-postgres.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rsh.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rlogin.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-oracle-listener.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-oracle-listener.c:119:3: warning: 'DES_key_sched' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_key_sched((C_Block *) key1, ks1);
^
/usr/include/openssl/des_old.h:211:2: note: expanded from macro 'des_key_sched'
DES_key_sched((k),&(ks))
^
/usr/include/openssl/des.h:226:5: note: 'DES_key_sched' has been explicitly marked deprecated here
int DES_key_sched(const_DES_cblock *key,DES_key_schedule *schedule) DEPRECATED_IN_MAC_OS_X_VERSION_1...
^
hydra-oracle-listener.c:120:3: warning: 'DES_ncbc_encrypt' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_ncbc_encrypt(result, desresult, siz, ks1, &ivec1, DES_ENCRYPT);
^
/usr/include/openssl/des_old.h:157:2: note: expanded from macro 'des_ncbc_encrypt'
DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
^
/usr/include/openssl/des.h:143:6: note: 'DES_ncbc_encrypt' has been explicitly marked deprecated here
void DES_ncbc_encrypt(const unsigned char *input,unsigned char *output,
^
hydra-oracle-listener.c:126:3: warning: 'DES_key_sched' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_key_sched((C_Block *) lastkey, ks1);
^
/usr/include/openssl/des_old.h:211:2: note: expanded from macro 'des_key_sched'
DES_key_sched((k),&(ks))
^
/usr/include/openssl/des.h:226:5: note: 'DES_key_sched' has been explicitly marked deprecated here
int DES_key_sched(const_DES_cblock *key,DES_key_schedule *schedule) DEPRECATED_IN_MAC_OS_X_VERSION_1...
^
hydra-oracle-listener.c:129:3: warning: 'DES_ncbc_encrypt' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
des_ncbc_encrypt(result, desresult, siz, ks1, &ivec1, DES_ENCRYPT);
^
/usr/include/openssl/des_old.h:157:2: note: expanded from macro 'des_ncbc_encrypt'
DES_ncbc_encrypt((i),(o),(l),&(k),(iv),(e))
^
/usr/include/openssl/des.h:143:6: note: 'DES_ncbc_encrypt' has been explicitly marked deprecated here
void DES_ncbc_encrypt(const unsigned char *input,unsigned char *output,
^
4 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-svn.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-pcanywhere.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-sip.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-oracle-sid.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-oracle.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-vmauthd.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-asterisk.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-firebird.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-afp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-ncp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http-proxy.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-http-form.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-http-form.c:852:24: warning: incompatible pointer types passing 'ptr_cookie_node'
(aka 'struct cookie_node *') to parameter of type 'ptr_cookie_node *' (aka 'struct cookie_node *
');
take the address with & [-Wincompatible-pointer-types]
process_cookies(ptr_cookie, cookie);
^~~~~~~~~~
&
hydra-http-form.c:209:39: note: passing argument to parameter 'ptr_cookie' here
int process_cookies(ptr_cookie_node * ptr_cookie, char * cookie_expr)
^
1 warning generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-irc.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-redis.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-rdp.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-rdp.c:818:3: warning: 'SHA1_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Init(sha1);
^
/usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' has been explicitly marked deprecated here
int SHA1_Init(SHA_CTX c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:822:3: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(sha1, data, len);
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:826:3: warning: 'SHA1_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Final(out_data, sha1);
^
/usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' has been explicitly marked deprecated here
int SHA1_Final(unsigned char *md, SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:830:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Init(md5);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:834:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(md5, data, len);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:838:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(out_data, md5);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:842:3: warning: 'RC4_set_key' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
RC4_set_key(rc4, len, key);
^
/usr/include/openssl/rc4.h:84:6: note: 'RC4_set_key' has been explicitly marked deprecated here
void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data) DEPRECATED_IN_MAC_OS_X_VERSION_10...
^
hydra-rdp.c:846:3: warning: 'RC4' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
RC4(rc4, len, in_data, out_data);
^
/usr/include/openssl/rc4.h:85:6: note: 'RC4' has been explicitly marked deprecated here
void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata,
^
hydra-rdp.c:871:9: warning: 'BN_CTX_new' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
ctx = BN_CTX_new();
^
/usr/include/openssl/bn.h:403:9: note: 'BN_CTX_new' has been explicitly marked deprecated here
BN_CTX *BN_CTX_new(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:872:3: warning: 'BN_init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_init(&mod);
^
/usr/include/openssl/bn.h:418:6: note: 'BN_init' has been explicitly marked deprecated here
void BN_init(BIGNUM *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:873:3: warning: 'BN_init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_init(&exp);
^
/usr/include/openssl/bn.h:418:6: note: 'BN_init' has been explicitly marked deprecated here
void BN_init(BIGNUM *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:874:3: warning: 'BN_init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_init(&x);
^
/usr/include/openssl/bn.h:418:6: note: 'BN_init' has been explicitly marked deprecated here
void BN_init(BIGNUM *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:875:3: warning: 'BN_init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_init(&y);
^
/usr/include/openssl/bn.h:418:6: note: 'BN_init' has been explicitly marked deprecated here
void BN_init(BIGNUM *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:877:3: warning: 'BN_bin2bn' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_bin2bn(modulus, modulus_size, &mod);
^
/usr/include/openssl/bn.h:422:9: note: 'BN_bin2bn' has been explicitly marked deprecated here
BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:878:3: warning: 'BN_bin2bn' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_bin2bn(exponent, SEC_EXPONENT_SIZE, &exp);
^
/usr/include/openssl/bn.h:422:9: note: 'BN_bin2bn' has been explicitly marked deprecated here
BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:879:3: warning: 'BN_bin2bn' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_bin2bn(inr, len, &x);
^
/usr/include/openssl/bn.h:422:9: note: 'BN_bin2bn' has been explicitly marked deprecated here
BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:880:3: warning: 'BN_mod_exp' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_mod_exp(&y, &x, &exp, &mod, ctx);
^
/usr/include/openssl/bn.h:474:5: note: 'BN_mod_exp' has been explicitly marked deprecated here
int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
^
hydra-rdp.c:881:12: warning: 'BN_bn2bin' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
outlen = BN_bn2bin(&y, out);
^
/usr/include/openssl/bn.h:423:5: note: 'BN_bn2bin' has been explicitly marked deprecated here
int BN_bn2bin(const BIGNUM *a, unsigned char *to) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:886:3: warning: 'BN_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_free(&y);
^
/usr/include/openssl/bn.h:468:6: note: 'BN_free' has been explicitly marked deprecated here
void BN_free(BIGNUM *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:887:3: warning: 'BN_clear_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_clear_free(&x);
^
/usr/include/openssl/bn.h:419:6: note: 'BN_clear_free' has been explicitly marked deprecated here
void BN_clear_free(BIGNUM *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:888:3: warning: 'BN_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_free(&exp);
^
/usr/include/openssl/bn.h:468:6: note: 'BN_free' has been explicitly marked deprecated here
void BN_free(BIGNUM *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:889:3: warning: 'BN_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_free(&mod);
^
/usr/include/openssl/bn.h:468:6: note: 'BN_free' has been explicitly marked deprecated here
void BN_free(BIGNUM *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:890:3: warning: 'BN_CTX_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
BN_CTX_free(ctx);
^
/usr/include/openssl/bn.h:407:6: note: 'BN_CTX_free' has been explicitly marked deprecated here
void BN_CTX_free(BN_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:914:9: warning: 'OBJ_obj2nid' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
nid = OBJ_obj2nid(cert->cert_info->key->algor->algorithm);
^
/usr/include/openssl/objects.h:1009:6: note: 'OBJ_obj2nid' has been explicitly marked deprecated here
int OBJ_obj2nid(const ASN1_OBJECT *o) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:917:5: warning: 'ASN1_OBJECT_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
ASN1_OBJECT_free(cert->cert_info->key->algor->algorithm);
^
/usr/include/openssl/asn1.h:776:7: note: 'ASN1_OBJECT_free' has been explicitly marked deprecated here
void ASN1_OBJECT_free(ASN1_OBJECT *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:918:46: warning: 'OBJ_nid2obj' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
cert->cert_info->key->algor->algorithm = OBJ_nid2obj(NID_rsaEncryption);
^
/usr/include/openssl/objects.h:1006:15: note: 'OBJ_nid2obj' has been explicitly marked deprecated here
ASN1_OBJECT * OBJ_nid2obj(int n) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:920:9: warning: 'X509_get_pubkey' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
epk = X509_get_pubkey(cert);
^
/usr/include/openssl/x509.h:1017:12: note: 'X509_get_pubkey' has been explicitly marked deprecated here
EVP_PKEY * X509_get_pubkey(X509 *x) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:926:10: warning: 'RSAPublicKey_dup' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
lkey = RSAPublicKey_dup(EVP_PKEY_get1_RSA(epk));
^
/usr/include/openssl/rsa.h:394:6: note: 'RSAPublicKey_dup' has been explicitly marked deprecated here
RSA *RSAPublicKey_dup(RSA *rsa) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:926:27: warning: 'EVP_PKEY_get1_RSA' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
lkey = RSAPublicKey_dup(EVP_PKEY_get1_RSA(epk));
^
/usr/include/openssl/evp.h:859:16: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here
struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:927:3: warning: 'EVP_PKEY_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
EVP_PKEY_free(epk);
^
/usr/include/openssl/evp.h:878:7: note: 'EVP_PKEY_free' has been explicitly marked deprecated here
void EVP_PKEY_free(EVP_PKEY *pkey) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:928:14: warning: 'RSA_size' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
*key_len = RSA_size(lkey);
^
/usr/include/openssl/rsa.h:256:5: note: 'RSA_size' has been explicitly marked deprecated here
int RSA_size(const RSA *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:933:10: warning: 'X509_print_fp' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
return X509_print_fp(fp, cert);
^
/usr/include/openssl/x509.h:1079:6: note: 'X509_print_fp' has been explicitly marked deprecated here
int X509_print_fp(FILE *bp,X509 *x) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:937:3: warning: 'RSA_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
RSA_free(rkey);
^
/usr/include/openssl/rsa.h:282:6: note: 'RSA_free' has been explicitly marked deprecated here
void RSA_free (RSA *r) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:944:8: warning: 'BN_num_bits' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if ((BN_num_bytes(rkey->e) > (int) max_exp_len) || (BN_num_bytes(rkey->n) > (int) max_mod_len)) {
^
/usr/include/openssl/bn.h:378:27: note: expanded from macro 'BN_num_bytes'
#define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
^
/usr/include/openssl/bn.h:415:5: note: 'BN_num_bits' has been explicitly marked deprecated here
int BN_num_bits(const BIGNUM *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:944:55: warning: 'BN_num_bits' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if ((BN_num_bytes(rkey->e) > (int) max_exp_len) || (BN_num_bytes(rkey->n) > (int) max_mod_len)) {
^
/usr/include/openssl/bn.h:378:27: note: expanded from macro 'BN_num_bytes'
#define BN_num_bytes(a) ((BN_num_bits(a)+7)/8)
^
/usr/include/openssl/bn.h:415:5: note: 'BN_num_bits' has been explicitly marked deprecated here
int BN_num_bits(const BIGNUM *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:947:9: warning: 'BN_bn2bin' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
len = BN_bn2bin(rkey->e, exponent);
^
/usr/include/openssl/bn.h:423:5: note: 'BN_bn2bin' has been explicitly marked deprecated here
int BN_bn2bin(const BIGNUM *a, unsigned char *to) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:949:9: warning: 'BN_bn2bin' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
len = BN_bn2bin(rkey->n, modulus);
^
/usr/include/openssl/bn.h:423:5: note: 'BN_bn2bin' has been explicitly marked deprecated here
int BN_bn2bin(const BIGNUM *a, unsigned char *to) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:963:3: warning: 'HMAC_CTX_init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
HMAC_CTX_init(&ctx);
^
/usr/include/openssl/hmac.h:90:6: note: 'HMAC_CTX_init' has been explicitly marked deprecated here
void HMAC_CTX_init(HMAC_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:964:3: warning: 'HMAC' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC(EVP_md5(), key, key_len, msg, msg_len, md, NULL);
^
/usr/include/openssl/hmac.h:101:16: note: 'HMAC' has been explicitly marked deprecated here
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
^
hydra-rdp.c:964:8: warning: 'EVP_md5' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
HMAC(EVP_md5(), key, key_len, msg, msg_len, md, NULL);
^
/usr/include/openssl/evp.h:662:15: note: 'EVP_md5' has been explicitly marked deprecated here
const EVP_MD *EVP_md5(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-rdp.c:965:3: warning: 'HMAC_CTX_cleanup' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
HMAC_CTX_cleanup(&ctx);
^
/usr/include/openssl/hmac.h:91:6: note: 'HMAC_CTX_cleanup' has been explicitly marked deprecated here
void HMAC_CTX_cleanup(HMAC_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
41 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c crc32.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c d3des.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c bfg.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c ntlm.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c sasl.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
sasl.c:148:5: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:149:5: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, preppasswd, strlen(preppasswd));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:150:5: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(md5_raw, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:162:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:163:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, ipad, 64);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:164:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, challenge, strlen(challenge));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:165:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(md5_raw, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:167:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:168:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, opad, 64);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:169:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, md5_raw, MD5_DIGEST_LENGTH);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:170:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(md5_raw, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:210:5: warning: 'SHA1_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1_Init(&shac);
^
/usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' has been explicitly marked deprecated here
int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:211:5: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&shac, preppasswd, strlen(preppasswd));
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:212:5: warning: 'SHA1_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1_Final(sha1_raw, &shac);
^
/usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' has been explicitly marked deprecated here
int SHA1_Final(unsigned char *md, SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:225:3: warning: 'SHA1_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1_Init(&shac);
^
/usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' has been explicitly marked deprecated here
int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:226:3: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&shac, ipad, 64);
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:227:3: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&shac, challenge, strlen(challenge));
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:228:3: warning: 'SHA1_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1_Final(sha1_raw, &shac);
^
/usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' has been explicitly marked deprecated here
int SHA1_Final(unsigned char *md, SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:230:3: warning: 'SHA1_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1_Init(&shac);
^
/usr/include/openssl/sha.h:121:5: note: 'SHA1_Init' has been explicitly marked deprecated here
int SHA1_Init(SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:231:3: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&shac, opad, 64);
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:232:3: warning: 'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&shac, sha1_raw, SHA_DIGEST_LENGTH);
^
/usr/include/openssl/sha.h:122:5: note: 'SHA1_Update' has been explicitly marked deprecated here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:233:3: warning: 'SHA1_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1_Final(sha1_raw, &shac);
^
/usr/include/openssl/sha.h:123:5: note: 'SHA1_Final' has been explicitly marked deprecated here
int SHA1_Final(unsigned char *md, SHA_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:274:5: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Init(&sha256c);
^
/usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' has been explicitly marked deprecated here
int SHA256_Init(SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:275:5: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Update(&sha256c, preppasswd, strlen(preppasswd));
^
/usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' has been explicitly marked deprecated here
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_A...
^
sasl.c:276:5: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Final(sha256_raw, &sha256c);
^
/usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' has been explicitly marked deprecated here
int SHA256_Final(unsigned char *md, SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:289:3: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Init(&sha256c);
^
/usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' has been explicitly marked deprecated here
int SHA256_Init(SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:290:3: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Update(&sha256c, ipad, 64);
^
/usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' has been explicitly marked deprecated here
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_A...
^
sasl.c:291:3: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Update(&sha256c, challenge, strlen(challenge));
^
/usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' has been explicitly marked deprecated here
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_A...
^
sasl.c:292:3: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Final(sha256_raw, &sha256c);
^
/usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' has been explicitly marked deprecated here
int SHA256_Final(unsigned char *md, SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:294:3: warning: 'SHA256_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Init(&sha256c);
^
/usr/include/openssl/sha.h:147:5: note: 'SHA256_Init' has been explicitly marked deprecated here
int SHA256_Init(SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:295:3: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Update(&sha256c, opad, 64);
^
/usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' has been explicitly marked deprecated here
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_A...
^
sasl.c:296:3: warning: 'SHA256_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Update(&sha256c, sha256_raw, SHA256_DIGEST_LENGTH);
^
/usr/include/openssl/sha.h:148:5: note: 'SHA256_Update' has been explicitly marked deprecated here
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_A...
^
sasl.c:297:3: warning: 'SHA256_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA256_Final(sha256_raw, &sha256c);
^
/usr/include/openssl/sha.h:149:5: note: 'SHA256_Final' has been explicitly marked deprecated here
int SHA256_Final(unsigned char *md, SHA256_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:497:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:498:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, buffer, strlen(buffer));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:499:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(response, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:519:5: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:520:5: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, buffer, strlen(buffer));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:521:5: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(response, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:546:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:547:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, buffer, strlen(buffer));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:548:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(response, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:561:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&md5c);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:562:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, buffer3, strlen(buffer3));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:563:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, ":", 1);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:564:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Update(&md5c, buffer, strlen(buffer));
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:565:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Final(response, &md5c);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:378:34: warning: 'memset' call operates on objects of type 'char' while the size is based on a
different type 'char *' [-Wsizeof-pointer-memaccess]
memset(array[i], 0, sizeof(array[i]));
~~~~~~~~ ^~~~~~~~
sasl.c:378:34: note: did you mean to provide an explicit length?
memset(array[i], 0, sizeof(array[i]));
^~~~~~~~
sasl.c:691:7: warning: 'PKCS5_PBKDF2_HMAC_SHA1' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if (PKCS5_PBKDF2_HMAC_SHA1(preppasswd, strlen(preppasswd), (unsigned char *) salt, saltlen, iter, ...
^
/usr/include/openssl/evp.h:911:5: note: 'PKCS5_PBKDF2_HMAC_SHA1' has been explicitly marked deprecated here
int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
^
sasl.c:700:3: warning: 'HMAC' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC(EVP_sha1(), SaltedPassword, SHA_DIGEST_LENGTH, (const unsigned char *) CLIENT_KEY, strlen(CLI...
^
/usr/include/openssl/hmac.h:101:16: note: 'HMAC' has been explicitly marked deprecated here
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
^
sasl.c:700:8: warning: 'EVP_sha1' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC(EVP_sha1(), SaltedPassword, SHA_DIGEST_LENGTH, (const unsigned char *) CLIENT_KEY, strlen(CLI...
^
/usr/include/openssl/evp.h:666:15: note: 'EVP_sha1' has been explicitly marked deprecated here
const EVP_MD *EVP_sha1(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
sasl.c:703:3: warning: 'SHA1' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
SHA1((const unsigned char *) ClientKey, SHA_DIGEST_LENGTH, StoredKey);
^
/usr/include/openssl/sha.h:124:16: note: 'SHA1' has been explicitly marked deprecated here
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERS...
^
sasl.c:707:3: warning: 'HMAC' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC(EVP_sha1(), StoredKey, SHA_DIGEST_LENGTH, (const unsigned char *) AuthMessage, strlen(AuthMes...
^
/usr/include/openssl/hmac.h:101:16: note: 'HMAC' has been explicitly marked deprecated here
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
^
sasl.c:707:8: warning: 'EVP_sha1' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
HMAC(EVP_sha1(), StoredKey, SHA_DIGEST_LENGTH, (const unsigned char *) AuthMessage, strlen(AuthMes...
^
/usr/include/openssl/evp.h:666:15: note: 'EVP_sha1' has been explicitly marked deprecated here
const EVP_MD *EVP_sha1(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
54 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hmacmd5.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hmacmd5.c:45:5: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&tctx);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:46:5: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&tctx, (void *) key, key_len);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:47:5: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(tk, &tctx);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:65:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&ctx->ctx);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:66:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&ctx->ctx, ctx->k_ipad, 64);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:93:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
MD5_Init(&ctx->ctx);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:94:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&ctx->ctx, ctx->k_ipad, 64);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:102:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&ctx->ctx, (void *) text, text_len); /
then text of datagram /
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:112:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(digest, &ctx->ctx);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:114:3: warning: 'MD5_Init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Init(&ctx_o);
^
/usr/include/openssl/md5.h:113:5: note: 'MD5_Init' has been explicitly marked deprecated here
int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:115:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&ctx_o, ctx->k_opad, 64);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:116:3: warning: 'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Update(&ctx_o, digest, 16);
^
/usr/include/openssl/md5.h:114:5: note: 'MD5_Update' has been explicitly marked deprecated here
int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hmacmd5.c:117:3: warning: 'MD5_Final' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5_Final(digest, &ctx_o);
^
/usr/include/openssl/md5.h:115:5: note: 'MD5_Final' has been explicitly marked deprecated here
int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
13 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c hydra-mod.c -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H -I/usr/local/include/mysql -I/usr/include
clang: warning: argument unused during compilation: '-pie'
hydra-mod.c:443:16: warning: 'RSA_size' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if(rsa->n && RSA_size(rsa)!=(keylength/8)){
^
/usr/include/openssl/rsa.h:256:5: note: 'RSA_size' has been explicitly marked deprecated here
int RSA_size(const RSA *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:444:7: warning: 'RSA_free' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
RSA_free(rsa);
^
/usr/include/openssl/rsa.h:282:6: note: 'RSA_free' has been explicitly marked deprecated here
void RSA_free (RSA *r) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:453:11: warning: 'RSA_generate_key' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
rsa = RSA_generate_key(keylength, RSA_F4, NULL, NULL);
^
/usr/include/openssl/rsa.h:260:7: note: 'RSA_generate_key' has been explicitly marked deprecated here
RSA * RSA_generate_key(int bits, unsigned long e,void
^
hydra-mod.c:464:5: warning: 'SSL_load_error_strings' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_load_error_strings();
^
/usr/include/openssl/ssl.h:1421:6: note: 'SSL_load_error_strings' has been explicitly marked deprecated here
void SSL_load_error_strings(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:466:5: warning: 'SSL_library_init' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_library_init(); // ?
^
/usr/include/openssl/ssl.h:1558:5: note: 'SSL_library_init' has been explicitly marked deprecated here
int SSL_library_init(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:473:25: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if ((sslContext = SSL_CTX_new(SSLv23_client_method())) == NULL) {
^
/usr/include/openssl/ssl.h:1351:10: note: 'SSL_CTX_new' has been explicitly marked deprecated here
SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:473:37: warning: 'SSLv23_client_method' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if ((sslContext = SSL_CTX_new(SSLv23_client_method())) == NULL) {
^
/usr/include/openssl/ssl.h:1522:13: note: 'SSLv23_client_method' has been explicitly marked deprecated here
SSL_METHOD *SSLv23_client_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /
SSLv3 bu...
^
hydra-mod.c:475:17: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
err = ERR_get_error();
^
/usr/include/openssl/err.h:266:15: note: 'ERR_get_error' has been explicitly marked deprecated here
unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:476:67: warning: 'ERR_error_string' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
fprintf(stderr, "[ERROR] SSL allocating context: %s\n", ERR_error_string(err, NULL));
^
/usr/include/openssl/err.h:279:7: note: 'ERR_error_string' has been explicitly marked deprecated here
char ERR_error_string(unsigned long e,char *buf) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:482:25: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if ((sslContext = SSL_CTX_new(TLSv1_2_client_method())) == NULL) {
^
/usr/include/openssl/ssl.h:1351:10: note: 'SSL_CTX_new' has been explicitly marked deprecated here
SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:482:37: warning: implicit declaration of function 'TLSv1_2_client_method' is invalid in C99
[-Wimplicit-function-declaration]
if ((sslContext = SSL_CTX_new(TLSv1_2_client_method())) == NULL) {
^
hydra-mod.c:482:37: warning: incompatible integer to pointer conversion passing 'int' to parameter of type
'SSL_METHOD *' (aka 'struct ssl_method_st *') [-Wint-conversion]
if ((sslContext = SSL_CTX_new(TLSv1_2_client_method())) == NULL) {
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1351:34: note: passing argument to parameter 'meth' here
SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:484:17: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
err = ERR_get_error();
^
/usr/include/openssl/err.h:266:15: note: 'ERR_get_error' has been explicitly marked deprecated here
unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:485:67: warning: 'ERR_error_string' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
fprintf(stderr, "[ERROR] SSL allocating context: %s\n", ERR_error_string(err, NULL));
^
/usr/include/openssl/err.h:279:7: note: 'ERR_error_string' has been explicitly marked deprecated here
char *ERR_error_string(unsigned long e,char *buf) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:491:5: warning: 'SSL_CTX_ctrl' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_CTX_set_options(sslContext, SSL_OP_ALL);
^
/usr/include/openssl/ssl.h:574:2: note: expanded from macro 'SSL_CTX_set_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
^
/usr/include/openssl/ssl.h:1503:6: note: 'SSL_CTX_ctrl' has been explicitly marked deprecated here
long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10
...
^
hydra-mod.c:496:12: warning: 'SSL_CTX_set_default_verify_paths' is deprecated: first deprecated in OS X 10.7
-Wdeprecated-declarations SSL_CTX_set_default_verify_paths(sslContext);
^
/usr/include/openssl/ssl.h:1575:5: note: 'SSL_CTX_set_default_verify_paths' has been explicitly marked
deprecated here
int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:497:5: warning: 'SSL_CTX_set_tmp_rsa_callback' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_CTX_set_tmp_rsa_callback(sslContext, ssl_temp_rsa_cb);
^
/usr/include/openssl/ssl.h:1634:6: note: 'SSL_CTX_set_tmp_rsa_callback' has been explicitly marked
deprecated here
void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
^
hydra-mod.c:498:5: warning: 'SSL_CTX_set_verify' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_CTX_set_verify(sslContext, SSL_VERIFY_NONE, NULL);
^
/usr/include/openssl/ssl.h:1463:6: note: 'SSL_CTX_set_verify' has been explicitly marked deprecated here
void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,
^
hydra-mod.c:501:14: warning: 'SSL_new' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if ((ssl = SSL_new(sslContext)) == NULL) {
^
/usr/include/openssl/ssl.h:1486:7: note: 'SSL_new' has been explicitly marked deprecated here
SSL * SSL_new(SSL_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:503:13: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
err = ERR_get_error();
^
/usr/include/openssl/err.h:266:15: note: 'ERR_get_error' has been explicitly marked deprecated here
unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:504:65: warning: 'ERR_error_string' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
fprintf(stderr, "[ERROR] preparing an SSL context: %s\n", ERR_error_string(err, NULL));
^
/usr/include/openssl/err.h:279:7: note: 'ERR_error_string' has been explicitly marked deprecated here
char *ERR_error_string(unsigned long e,char *buf) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:506:5: warning: 'SSL_set_bio' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_set_bio(ssl, NULL, NULL);
^
/usr/include/openssl/ssl.h:1380:6: note: 'SSL_set_bio' has been explicitly marked deprecated here
void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:507:5: warning: 'SSL_clear' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_clear(ssl);
^
/usr/include/openssl/ssl.h:1358:5: note: 'SSL_clear' has been explicitly marked deprecated here
int SSL_clear(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:511:3: warning: 'SSL_set_fd' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_set_fd(ssl, socket);
^
/usr/include/openssl/ssl.h:1375:5: note: 'SSL_set_fd' has been explicitly marked deprecated here
int SSL_set_fd(SSL *s, int fd) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:512:7: warning: 'SSL_connect' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if (SSL_connect(ssl) <= 0) {
^
/usr/include/openssl/ssl.h:1497:6: note: 'SSL_connect' has been explicitly marked deprecated here
int SSL_connect(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:515:13: warning: 'ERR_get_error' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
err = ERR_get_error();
^
/usr/include/openssl/err.h:266:15: note: 'ERR_get_error' has been explicitly marked deprecated here
unsigned long ERR_get_error(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:516:74: warning: 'ERR_error_string' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
fprintf(stderr, "[VERBOSE] Could not create an SSL session: %s\n", ERR_error_string(err, NULL));
^
/usr/include/openssl/err.h:279:7: note: 'ERR_error_string' has been explicitly marked deprecated here
char *ERR_error_string(unsigned long e,char *buf) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:522:62: warning: 'SSL_CIPHER_get_name' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
fprintf(stderr, "[VERBOSE] SSL negotiated cipher: %s\n", SSL_get_cipher(ssl));
^
/usr/include/openssl/ssl.h:1157:3: note: expanded from macro 'SSL_get_cipher'
SSL_CIPHER_get_name(SSL_get_current_cipher(s))
^
/usr/include/openssl/ssl.h:1365:14: note: 'SSL_CIPHER_get_name' has been explicitly marked deprecated here
const char * SSL_CIPHER_get_name(const SSL_CIPHER *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:522:62: warning: 'SSL_get_current_cipher' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
fprintf(stderr, "[VERBOSE] SSL negotiated cipher: %s\n", SSL_get_cipher(ssl));
^
/usr/include/openssl/ssl.h:1157:23: note: expanded from macro 'SSL_get_cipher'
SSL_CIPHER_get_name(SSL_get_current_cipher(s))
^
/usr/include/openssl/ssl.h:1362:13: note: 'SSL_get_current_cipher' has been explicitly marked deprecated
here
SSL_CIPHER *SSL_get_current_cipher(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:542:12: warning: 'SSL_read' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
return SSL_read(ssl, buf, length);
^
/usr/include/openssl/ssl.h:1498:6: note: 'SSL_read' has been explicitly marked deprecated here
int SSL_read(SSL *ssl,void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:551:12: warning: 'SSL_write' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
return SSL_write(ssl, buf, size);
^
/usr/include/openssl/ssl.h:1500:6: note: 'SSL_write' has been explicitly marked deprecated here
int SSL_write(SSL *ssl,const void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:808:18: warning: 'SSL_get_fd' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
if (use_ssl && SSL_get_fd(ssl) == socket) {
^
/usr/include/openssl/ssl.h:1367:5: note: 'SSL_get_fd' has been explicitly marked deprecated here
int SSL_get_fd(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:810:5: warning: 'SSL_set_bio' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_set_bio(ssl, NULL, NULL);
^
/usr/include/openssl/ssl.h:1380:6: note: 'SSL_set_bio' has been explicitly marked deprecated here
void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:811:5: warning: 'SSL_clear' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SSL_clear(ssl);
^
/usr/include/openssl/ssl.h:1358:5: note: 'SSL_clear' has been explicitly marked deprecated here
int SSL_clear(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
hydra-mod.c:852:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_data(buf, ret, text);
^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
^
hydra-mod.c:867:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_data(buf, ret, text);
^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
^
hydra-mod.c:873:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_data(buf, ret, text);
^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
^
hydra-mod.c:906:23: warning: passing 'char [1]' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_data("", -1, text);
^~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
^
hydra-mod.c:943:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_data(buff, got, text);
^~~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
^
hydra-mod.c:958:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between
pointers to integer types with different sign [-Wpointer-sign]
hydra_dump_data(buf, size, text);
^~~
./hydra-mod.h:38:44: note: passing argument to parameter 'buf' here
extern void hydra_dump_data(unsigned char *buf, int len, char *text);
^
hydra-mod.c:1106:24: warning: format specifies type 'unsigned short' but the argument has type 'int'
[-Wformat]
printf("%04hx: ", i * 16);
~~~~~ ^~~~~~
%04x
hydra-mod.c:1124:24: warning: format specifies type 'unsigned short' but the argument has type 'int'
[-Wformat]
printf("%04hx: ", i * 16);
~~~~~ ^~~~~~
%04x
hydra-mod.c:1260:24: warning: format specifies type 'unsigned short' but the argument has type 'int'
[-Wformat]
printf("%04hx: ", i * 16);
~~~~~ ^~~~~~
%04x
hydra-mod.c:1278:24: warning: format specifies type 'unsigned short' but the argument has type 'int'
[-Wformat]
printf("%04hx: ", i * 16);
~~~~~ ^~~~~~
%04x
44 warnings generated.
gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lm -o hydra hydra.c hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-mssql.o hydra-xmpp.o hydra-http-proxy-urlenum.o hydra-snmp.o hydra-cvs.o hydra-smtp.o hydra-smtp-enum.o hydra-sapr3.o hydra-ssh.o hydra-sshkey.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-oracle-sid.o hydra-oracle.o hydra-vmauthd.o hydra-asterisk.o hydra-firebird.o hydra-afp.o hydra-ncp.o hydra-http-proxy.o hydra-http-form.o hydra-irc.o hydra-redis.o hydra-rdp.o hydra-s7-300.c crc32.o d3des.o bfg.o ntlm.o sasl.o hmacmd5.o hydra-mod.o -lm -lcurses -lssl -lmysqlclient -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib -L/usr/local/lib -I/usr/local/include/mysql -I/usr/include -DHAVE_MYSQL_MYSQL_H -DLIBOPENSSL -DLIBNCURSES -DLIBMYSQLCLIENT -DHAVE_MATH_H
clang: warning: argument unused during compilation: '-pie'
hydra.c:733:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
printf("[DEBUG] sizeof hydra_head: %d\n", sizeof(hydra_head));
~~ ^~~~~~~~~~~~~~~~~~
%lu
hydra.c:1254:9: warning: implicit declaration of function 'service_redis' is invalid in C99
[-Wimplicit-function-declaration]
service_redis(hydra_targets[target_no]->ip, hydra_heads[head_no]->sp[1], options, hydra_opti...
^
hydra.c:2339:10: warning: implicit declaration of function 'setupterm' is invalid in C99
[-Wimplicit-function-declaration]
if (!setupterm(NULL, 1, NULL) && (tigetnum("colors") <= 0)) {
^
hydra.c:2339:39: warning: implicit declaration of function 'tigetnum' is invalid in C99
[-Wimplicit-function-declaration]
if (!setupterm(NULL, 1, NULL) && (tigetnum("colors") <= 0)) {
^
4 warnings generated.
ld: warning: directory not found for option '-L/lib'
Undefined symbols for architecture x86_64:
"_TLSv1_2_client_method", referenced from:
internal__hydra_connect_to_ssl in hydra-mod.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *
* [hydra] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants