Build of sslscan with android toolchain

The build took 00h 00m 57s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
1,826 ansic
37 makefile
1,863 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: sslscan 1.10.2-3 (Tue Apr 4 21:01:44 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -o sslscan sslscan.c -lssl -lcrypto
# cc1: error: no include path in which to search for stdc-predef.h
# sslscan.c:44:20: error: no include path in which to search for string.h
# #include
# ^
# sslscan.c:65:19: error: no include path in which to search for netdb.h
# #include
# ^
# sslscan.c:66:20: error: no include path in which to search for unistd.h
# #include
# ^
# sslscan.c:67:24: error: no include path in which to search for sys/socket.h
# #include
# ^
# sslscan.c:68:19: error: no include path in which to search for fcntl.h
# #include
# ^
# sslscan.c:71:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# sslscan.c:72:25: error: no include path in which to search for openssl/err.h
# #include
# ^
# sslscan.c:73:25: error: no include path in which to search for openssl/ssl.h
# #include
# ^
# sslscan.c:74:28: error: no include path in which to search for openssl/pkcs12.h
# #include
# ^
# sslscan.c:75:26: error: no include path in which to search for openssl/x509.h
# #include
# ^
# sslscan.c:76:28: error: no include path in which to search for openssl/x509v3.h
# #include
# ^
# sslscan.c:142:5: error: unknown type name 'SSL_METHOD'
# const SSL_METHOD *sslMethod;
# ^
# sslscan.c:167:5: error: unknown type name 'FILE'
# FILE *xmlOutput;
# ^
# sslscan.c:171:24: error: field 'serverAddress' has incomplete type
# struct sockaddr_in serverAddress;
# ^
# sslscan.c:174:5: error: unknown type name 'SSL_CTX'
# SSL_CTX *ctx;
# ^
# sslscan.c:189:31: error: unknown type name 'SSL_METHOD'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c: In function 'populateCipherList':
# sslscan.c:197:14: error: 'SSL_CIPHER' undeclared (first use in this function)
# STACK_OF(SSL_CIPHER) *cipherList;
# ^
# sslscan.c:197:14: note: each undeclared identifier is reported only once for each function it appears in
# sslscan.c:197:27: error: 'cipherList' undeclared (first use in this function)
# STACK_OF(SSL_CIPHER) *cipherList;
# ^
# sslscan.c:198:5: error: unknown type name 'SSL'
# SSL *ssl = NULL;
# ^
# sslscan.c:198:16: error: 'NULL' undeclared (first use in this function)
# SSL *ssl = NULL;
# ^
# sslscan.c:200:18: warning: assignment makes pointer from integer without a cast [enabled by default]
# options->ctx = SSL_CTX_new(sslMethod);
# ^
# sslscan.c:202:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Could not create CTX object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:208:9: warning: assignment makes pointer from integer without a cast [enabled by default]
# ssl = SSL_new(options->ctx);
# ^
# sslscan.c:210:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Could not create SSL object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:222:32: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# options->ciphers = malloc(sizeof(struct sslCipher));
# ^
# sslscan.c:230:38: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# sslCipherPointer->next = malloc(sizeof(struct sslCipher));
# ^
# sslscan.c:235:9: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(sslCipherPointer, 0, sizeof(struct sslCipher));
# ^
# sslscan.c: In function 'fileExists':
# sslscan.c:258:29: error: 'R_OK' undeclared (first use in this function)
# return access(fileName, R_OK) == 0;
# ^
# sslscan.c: At top level:
# sslscan.c:264:15: error: unknown type name 'FILE'
# void readLine(FILE *input, char *lineFromFile, int maxSize)
# ^
# sslscan.c:282:45: error: unknown type name 'size_t'
# int readOrLogAndClose(int fd, void* buffer, size_t len, const struct sslCheckOptions *options)
# ^
# sslscan.c: In function 'tcpConnect':
# sslscan.c:317:31: error: 'AF_INET' undeclared (first use in this function)
# socketDescriptor = socket(AF_INET, SOCK_STREAM, 0);
# ^
# sslscan.c:317:40: error: 'SOCK_STREAM' undeclared (first use in this function)
# socketDescriptor = socket(AF_INET, SOCK_STREAM, 0);
# ^
# sslscan.c:320:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could not open a socket.%s\n", COL_RED, RESET);
# ^
# sslscan.c:327:28: error: storage size of 'me' isn't known
# struct sockaddr_in me;
# ^
# sslscan.c:329:9: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset((char*)&me,0,sizeof(me));
# ^
# sslscan.c:339:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could not bind to local interface: %s.%s\n",COL_RED, "OZAPTF", RESET);
# ^
# sslscan.c:348:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could not open a connection to host %s on port %d.%s\n", COL_RED, options->host, options->port, RESET);
# ^
# sslscan.c:362:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: The host %s on port %d did not appear to be an SMTP service.%s\n", COL_RED, options->host, options->port, RESET);
# ^
# sslscan.c:371:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: The SMTP service on %s port %d did not respond with status 250 to our HELO.%s\n", COL_RED, options->host, options->port, RESET);
# ^
# sslscan.c:380:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: The SMTP service on %s port %d did not appear to support STARTTLS.%s\n", COL_RED, options->host, options->port, RESET);
# ^
# sslscan.c:399:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
# if (snprintf(xmpp_setup, sizeof(xmpp_setup), "\r\n"
# ^
# sslscan.c:401:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("(internal error: xmpp_setup buffer too small)\n");
# ^
# sslscan.c:402:13: warning: incompatible implicit declaration of built-in function 'abort' [enabled by default]
# abort();
# ^
# sslscan.c:405:44: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# send(socketDescriptor, xmpp_setup, strlen(xmpp_setup), 0);
# ^
# sslscan.c:410:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Server reported: %s\n", buffer);
# ^
# sslscan.c:422:13: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
# if (strstr(buffer, "urn:ietf:params:xml:ns:xmpp-tls")) {
# ^
# sslscan.c:424:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("It appears that xmpp-tls was detected.\n");
# ^
# sslscan.c:428:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("It appears that xmpp-tls was not detected.\n");
# ^
# sslscan.c:433:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Server reported: %s\n", buffer);
# ^
# sslscan.c:454:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Server reported: %s\n", buffer);
# ^
# sslscan.c:462:13: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
# if (strstr(buffer, "+OK Begin")) {
# ^
# sslscan.c:475:9: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(buffer, 0, BUFFERSIZE);
# ^
# sslscan.c:481:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Server banner: %s\n", buffer);
# ^
# sslscan.c:486:13: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
# if (strstr(buffer, ". OK") || strstr(buffer, " . OK")) {
# ^
# sslscan.c:508:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Server banner: %s\n", buffer);
# ^
# sslscan.c:514:13: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
# if (strstr(buffer, "234 AUTH TLS successful")) {
# ^
# sslscan.c: In function 'password_callback':
# sslscan.c:532:5: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
# strncpy(buf, (char *)userdata, size);
# ^
# sslscan.c:535:9: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# buf[strlen(userdata)] = 0;
# ^
# sslscan.c: In function 'loadCerts':
# sslscan.c:544:5: error: unknown type name 'PKCS12'
# PKCS12 *pk12 = NULL;
# ^
# sslscan.c:544:20: error: 'NULL' undeclared (first use in this function)
# PKCS12 *pk12 = NULL;
# ^
# sslscan.c:545:5: error: unknown type name 'FILE'
# FILE *pk12File = NULL;
# ^
# sslscan.c:546:5: error: unknown type name 'X509'
# X509 *cert = NULL;
# ^
# sslscan.c:547:5: error: unknown type name 'EVP_PKEY'
# EVP_PKEY *pkey = NULL;
# ^
# sslscan.c:548:14: error: 'X509' undeclared (first use in this function)
# STACK_OF(X509) *ca = NULL;
# ^
# sslscan.c:548:21: error: 'ca' undeclared (first use in this function)
# STACK_OF(X509) *ca = NULL;
# ^
# sslscan.c:561:83: error: 'SSL_FILETYPE_PEM' undeclared (first use in this function)
# if (!SSL_CTX_use_certificate_file(options->ctx, options->clientCertsFile, SSL_FILETYPE_PEM))
# ^
# sslscan.c:563:87: error: 'SSL_FILETYPE_ASN1' undeclared (first use in this function)
# if (!SSL_CTX_use_certificate_file(options->ctx, options->clientCertsFile, SSL_FILETYPE_ASN1))
# ^
# sslscan.c:567:21: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Could not configure certificate(s).%s\n", COL_RED, RESET);
# ^
# sslscan.c:586:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Could not configure private key.%s\n", COL_RED, RESET);
# ^
# sslscan.c:598:18: warning: assignment makes pointer from integer without a cast [enabled by default]
# pk12File = fopen(options->privateKeyFile, "rb");
# ^
# sslscan.c:605:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Could not read PKCS#12 file.%s\n", COL_RED, RESET);
# ^
# sslscan.c:612:21: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Error parsing PKCS#12. Are you sure that password was correct?%s\n", COL_RED, RESET);
# ^
# sslscan.c:619:25: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Could not configure certificate.%s\n", COL_RED, RESET);
# ^
# sslscan.c:624:25: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Could not configure private key.%s\n", COL_RED, RESET);
# ^
# sslscan.c:633:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Could not open PKCS#12 file.%s\n", COL_RED, RESET);
# ^
# sslscan.c:643:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s Prvate key does not match certificate.%s\n", COL_RED, RESET);
# ^
# sslscan.c: In function 'outputRenegotiation':
# sslscan.c:660:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, " \n",
# ^
# sslscan.c:665:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf(" Secure session renegotiation supported\n\n");
# ^
# sslscan.c: In function 'newRenegotiationOutput':
# sslscan.c:677:16: warning: incompatible implicit declaration of built-in function 'calloc' [enabled by default]
# myRenOut = calloc(1,sizeof(struct renegotiationOutput));
# ^
# sslscan.c: In function 'freeRenegotiationOutput':
# sslscan.c:683:22: error: 'NULL' undeclared (first use in this function)
# if ( myRenOut != NULL) {
# ^
# sslscan.c:684:9: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(myRenOut);
# ^
# sslscan.c: In function 'tls_reneg_init':
# sslscan.c:719:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("OpenSSL %s looks like version 0.9.8l; I will try SSL3_FLAGS to enable renegotation.\n",
# ^
# sslscan.c:720:32: error: 'SSLEAY_VERSION' undeclared (first use in this function)
# SSLeay_version(SSLEAY_VERSION));
# ^
# sslscan.c:725:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("OpenSSL %s looks like version 0.9.8m or later; "
# ^
# sslscan.c:731:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("OpenSSL %s [%lx] looks like it's older than "
# ^
# sslscan.c:741:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("OpenSSL %s has version %lx\n",
# ^
# sslscan.c: At top level:
# sslscan.c:754:30: error: unknown type name 'SSL_METHOD'
# int testRenegotiation(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c: In function 'testRenegotiation':
# sslscan.c:762:5: error: unknown type name 'SSL'
# SSL *ssl = NULL;
# ^
# sslscan.c:762:16: error: 'NULL' undeclared (first use in this function)
# SSL *ssl = NULL;
# ^
# sslscan.c:763:5: error: unknown type name 'BIO'
# BIO *cipherConnectionBio;
# ^
# sslscan.c:774:22: warning: assignment makes pointer from integer without a cast [enabled by default]
# options->ctx = SSL_CTX_new(sslMethod);
# ^
# sslscan.c:787:25: warning: assignment makes pointer from integer without a cast [enabled by default]
# ssl = SSL_new(options->ctx);
# ^
# sslscan.c:798:80: error: 'BIO_NOCLOSE' undeclared (first use in this function)
# cipherConnectionBio = BIO_new_socket(socketDescriptor, BIO_NOCLOSE);
# ^
# sslscan.c:826:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("use_unsafe_renegotiation_flag\n");
# ^
# sslscan.c:827:28: error: request for member 's3' in something not a structure or union
# ssl->s3->flags |= SSL3_FLAGS_ALLOW_UNSAFE_LEGACY_RENEGOTIATION;
# ^
# sslscan.c:831:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("use_unsafe_renegotiation_op\n");
# ^
# sslscan.c:861:37: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Attempting SSL_renegotiate(ssl)\n");
# ^
# sslscan.c:868:40: error: request for member 'state' in something not a structure or union
# if (ssl->state == SSL_ST_OK)
# ^
# sslscan.c:868:51: error: 'SSL_ST_OK' undeclared (first use in this function)
# if (ssl->state == SSL_ST_OK)
# ^
# sslscan.c:873:41: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "\n\nSSL_do_handshake() call failed\n");
# ^
# sslscan.c:873:49: error: 'stderr' undeclared (first use in this function)
# fprintf(stderr, "\n\nSSL_do_handshake() call failed\n");
# ^
# sslscan.c:875:44: error: request for member 'state' in something not a structure or union
# if (ssl->state == SSL_ST_OK)
# ^
# sslscan.c:883:41: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "\n\nFailed to complete renegotiation\n");
# ^
# sslscan.c:903:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "%s ERROR: Could create SSL object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:911:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "%s ERROR: Could set cipher.%s\n", COL_RED, RESET);
# ^
# sslscan.c:921:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "%sERROR: Could not create CTX object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:930:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "%sERROR: Could not connect.%s\n", COL_RED, RESET);
# ^
# sslscan.c:934:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(status);
# ^
# sslscan.c: In function 'testCipher':
# sslscan.c:950:5: error: unknown type name 'SSL'
# SSL *ssl = NULL;
# ^
# sslscan.c:950:16: error: 'NULL' undeclared (first use in this function)
# SSL *ssl = NULL;
# ^
# sslscan.c:951:5: error: unknown type name 'BIO'
# BIO *cipherConnectionBio;
# ^
# sslscan.c:952:5: error: unknown type name 'BIO'
# BIO *stdoutBIO = NULL;
# ^
# sslscan.c:959:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(requestBuffer, 0, 200);
# ^
# sslscan.c:960:5: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
# snprintf(requestBuffer, 199, "GET / HTTP/1.0\r\nUser-Agent: SSLScan\r\nHost: %s\r\n\r\n", options->host);
# ^
# sslscan.c:970:17: warning: assignment makes pointer from integer without a cast [enabled by default]
# ssl = SSL_new(options->ctx);
# ^
# sslscan.c:974:72: error: 'BIO_NOCLOSE' undeclared (first use in this function)
# cipherConnectionBio = BIO_new_socket(socketDescriptor, BIO_NOCLOSE);
# ^
# sslscan.c:991:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, "
# ^
# sslscan.c:997:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("|| Accepted || ");
# ^
# sslscan.c:1004:39: warning: assignment makes pointer from integer without a cast [enabled by default]
# stdoutBIO = BIO_new(BIO_s_file());
# ^
# sslscan.c:1005:51: error: 'stdout' undeclared (first use in this function)
# BIO_set_fp(stdoutBIO, stdout, BIO_NOCLOSE);
# ^
# sslscan.c:1024:44: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# loop = strlen(buffer + 9);
# ^
# sslscan.c:1051:33: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("|| Rejected || N/A || ");
# ^
# sslscan.c:1058:33: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("|| Rejected || ");
# ^
# sslscan.c:1066:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("SSL_get_error(ssl, cipherStatus) said: %d\n", SSL_get_error(ssl, cipherStatus));
# ^
# sslscan.c:1087:53: warning: comparison between pointer and integer [enabled by default]
# if (sslCipherPointer->sslMethod == SSLv2_client_method())
# ^
# sslscan.c:1092:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("SSLv2 || ");
# ^
# sslscan.c:1096:58: warning: comparison between pointer and integer [enabled by default]
# else if (sslCipherPointer->sslMethod == SSLv3_client_method())
# ^
# sslscan.c:1104:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("SSLv3 || ");
# ^
# sslscan.c:1108:58: warning: comparison between pointer and integer [enabled by default]
# else if (sslCipherPointer->sslMethod == TLSv1_client_method())
# ^
# sslscan.c:1113:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("TLSv1 || ");
# ^
# sslscan.c:1145:25: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%d || ", sslCipherPointer->bits);
# ^
# sslscan.c:1171:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could create SSL object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:1177:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could set cipher %s.%s\n", COL_RED, sslCipherPointer->name, RESET);
# ^
# sslscan.c: At top level:
# sslscan.c:1193:26: error: unknown type name 'SSL_METHOD'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c: In function 'defaultCipher':
# sslscan.c:1199:5: error: unknown type name 'SSL'
# SSL *ssl = NULL;
# ^
# sslscan.c:1199:16: error: 'NULL' undeclared (first use in this function)
# SSL *ssl = NULL;
# ^
# sslscan.c:1200:5: error: unknown type name 'BIO'
# BIO *cipherConnectionBio;
# ^
# sslscan.c:1210:22: warning: assignment makes pointer from integer without a cast [enabled by default]
# options->ctx = SSL_CTX_new(sslMethod);
# ^
# sslscan.c:1223:25: warning: assignment makes pointer from integer without a cast [enabled by default]
# ssl = SSL_new(options->ctx);
# ^
# sslscan.c:1227:80: error: 'BIO_NOCLOSE' undeclared (first use in this function)
# cipherConnectionBio = BIO_new_socket(socketDescriptor, BIO_NOCLOSE);
# ^
# sslscan.c:1242:43: warning: comparison between pointer and integer [enabled by default]
# if (sslMethod == SSLv2_client_method())
# ^
# sslscan.c:1245:37: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, "
# ^
# sslscan.c:1247:37: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("|| SSLv2 || ");
# ^
# sslscan.c:1251:48: warning: comparison between pointer and integer [enabled by default]
# else if (sslMethod == SSLv3_client_method())
# ^
# sslscan.c:1257:37: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, "
# ^
# sslscan.c:1259:37: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("|| SSLv3 || ");
# ^
# sslscan.c:1263:48: warning: comparison between pointer and integer [enabled by default]
# else if (sslMethod == TLSv1_client_method())
# ^
# sslscan.c:1266:37: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, "
# ^
# sslscan.c:1268:37: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("|| TLSv1 || ");
# ^
# sslscan.c:1300:33: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%d bits || ", SSL_get_cipher_bits(ssl, &tempInt2));
# ^
# sslscan.c:1309:33: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, "%d\" cipher=\"%s\" />\n", SSL_get_cipher_bits(ssl, &tempInt2), SSL_get_cipher_name(ssl));
# ^
# sslscan.c:1326:25: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could create SSL object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:1333:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could set cipher.%s\n", COL_RED, RESET);
# ^
# sslscan.c:1344:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Could not create CTX object.%s\n", COL_RED, RESET);
# ^
# sslscan.c: In function 'getCertificate':
# sslscan.c:1366:5: error: unknown type name 'SSL'
# SSL *ssl = NULL;
# ^
# sslscan.c:1366:16: error: 'NULL' undeclared (first use in this function)
# SSL *ssl = NULL;
# ^
# sslscan.c:1367:5: error: unknown type name 'BIO'
# BIO *cipherConnectionBio = NULL;
# ^
# sslscan.c:1368:5: error: unknown type name 'BIO'
# BIO *stdoutBIO = NULL;
# ^
# sslscan.c:1369:5: error: unknown type name 'BIO'
# BIO *fileBIO = NULL;
# ^
# sslscan.c:1370:5: error: unknown type name 'X509'
# X509 *x509Cert = NULL;
# ^
# sslscan.c:1371:5: error: unknown type name 'EVP_PKEY'
# EVP_PKEY *publicKey = NULL;
# ^
# sslscan.c:1372:5: error: unknown type name 'SSL_METHOD'
# const SSL_METHOD *sslMethod = NULL;
# ^
# sslscan.c:1373:5: error: unknown type name 'ASN1_OBJECT'
# ASN1_OBJECT *asn1Object = NULL;
# ^
# sslscan.c:1374:5: error: unknown type name 'X509_EXTENSION'
# X509_EXTENSION *extension = NULL;
# ^
# sslscan.c:1389:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("sslMethod = TLSv1_method()");
# ^
# sslscan.c:1390:23: warning: assignment makes pointer from integer without a cast [enabled by default]
# sslMethod = TLSv1_method();
# ^
# sslscan.c:1393:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("sslMethod = SSLv23_method()");
# ^
# sslscan.c:1394:23: warning: assignment makes pointer from integer without a cast [enabled by default]
# sslMethod = SSLv23_method();
# ^
# sslscan.c:1396:22: warning: assignment makes pointer from integer without a cast [enabled by default]
# options->ctx = SSL_CTX_new(sslMethod);
# ^
# sslscan.c:1410:25: warning: assignment makes pointer from integer without a cast [enabled by default]
# ssl = SSL_new(options->ctx);
# ^
# sslscan.c:1415:80: error: 'BIO_NOCLOSE' undeclared (first use in this function)
# cipherConnectionBio = BIO_new_socket(socketDescriptor, BIO_NOCLOSE);
# ^
# sslscan.c:1441:39: warning: assignment makes pointer from integer without a cast [enabled by default]
# stdoutBIO = BIO_new(BIO_s_file());
# ^
# sslscan.c:1442:51: error: 'stdout' undeclared (first use in this function)
# BIO_set_fp(stdoutBIO, stdout, BIO_NOCLOSE);
# ^
# sslscan.c:1445:41: warning: assignment makes pointer from integer without a cast [enabled by default]
# fileBIO = BIO_new(BIO_s_file());
# ^
# sslscan.c:1450:29: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("\n %sSSL Certificate:%s\n", COL_BLUE, RESET);
# ^
# sslscan.c:1452:33: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, " \n");
# ^
# sslscan.c:1453:38: warning: assignment makes pointer from integer without a cast [enabled by default]
# x509Cert = SSL_get_peer_certificate(ssl);
# ^
# sslscan.c:1470:39: error: 'X509_FLAG_COMPAT' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_VERSION))
# ^
# sslscan.c:1470:58: error: 'X509_FLAG_NO_VERSION' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_VERSION))
# ^
# sslscan.c:1479:58: error: 'X509_FLAG_NO_SERIAL' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_SERIAL))
# ^
# sslscan.c:1481:37: error: unknown type name 'ASN1_INTEGER'
# ASN1_INTEGER *bs;
# ^
# sslscan.c:1482:37: error: unknown type name 'BIO'
# BIO *bp;
# ^
# sslscan.c:1483:37: error: unknown type name 'BIO'
# BIO *xml_bp;
# ^
# sslscan.c:1490:39: warning: assignment makes pointer from integer without a cast [enabled by default]
# bs=X509_get_serialNumber(x509Cert);
# ^
# sslscan.c:1495:43: error: request for member 'length' in something not a structure or union
# if (bs->length <= 4)
# ^
# sslscan.c:1513:48: error: request for member 'type' in something not a structure or union
# neg=(bs->type == V_ASN1_NEG_INTEGER)?" (Negative)":"";
# ^
# sslscan.c:1513:58: error: 'V_ASN1_NEG_INTEGER' undeclared (first use in this function)
# neg=(bs->type == V_ASN1_NEG_INTEGER)?" (Negative)":"";
# ^
# sslscan.c:1521:55: error: request for member 'length' in something not a structure or union
# for (i=0; ilength; i++)
# ^
# sslscan.c:1523:74: error: request for member 'data' in something not a structure or union
# if (BIO_printf(bp,"%02x%c",bs->data[i],
# ^
# sslscan.c:1524:68: error: request for member 'length' in something not a structure or union
# ((i+1 == bs->length)?'\n':':')) <= 0)
# ^
# sslscan.c:1527:62: error: request for member 'length' in something not a structure or union
# if (i+1 == bs->length)
# ^
# sslscan.c:1529:84: error: request for member 'data' in something not a structure or union
# if (BIO_printf(xml_bp,"%02x",bs->data[i]) <= 0)
# ^
# sslscan.c:1534:86: error: request for member 'data' in something not a structure or union
# if (BIO_printf(xml_bp,"%02x%c",bs->data[i], ':') <= 0)
# ^
# sslscan.c:1551:58: error: 'X509_FLAG_NO_SIGNAME' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_SIGNAME))
# ^
# sslscan.c:1554:72: error: request for member 'cert_info' in something not a structure or union
# i2a_ASN1_OBJECT(stdoutBIO, x509Cert->cert_info->signature->algorithm);
# ^
# sslscan.c:1559:74: error: request for member 'cert_info' in something not a structure or union
# i2a_ASN1_OBJECT(fileBIO, x509Cert->cert_info->signature->algorithm);
# ^
# sslscan.c:1565:58: error: 'X509_FLAG_NO_ISSUER' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_ISSUER))
# ^
# sslscan.c:1574:58: error: 'X509_FLAG_NO_VALIDITY' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_VALIDITY))
# ^
# sslscan.c:1596:58: error: 'X509_FLAG_NO_SUBJECT' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_SUBJECT))
# ^
# sslscan.c:1605:58: error: 'X509_FLAG_NO_PUBKEY' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_PUBKEY))
# ^
# sslscan.c:1608:72: error: request for member 'cert_info' in something not a structure or union
# i2a_ASN1_OBJECT(stdoutBIO, x509Cert->cert_info->key->algor->algorithm);
# ^
# sslscan.c:1613:74: error: request for member 'cert_info' in something not a structure or union
# i2a_ASN1_OBJECT(fileBIO, x509Cert->cert_info->key->algor->algorithm);
# ^
# sslscan.c:1618:47: warning: assignment makes pointer from integer without a cast [enabled by default]
# publicKey = X509_get_pubkey(x509Cert);
# ^
# sslscan.c:1627:58: error: request for member 'type' in something not a structure or union
# switch (publicKey->type)
# ^
# sslscan.c:1629:50: error: 'EVP_PKEY_RSA' undeclared (first use in this function)
# case EVP_PKEY_RSA:
# ^
# sslscan.c:1630:62: error: request for member 'pkey' in something not a structure or union
# if (publicKey->pkey.rsa)
# ^
# sslscan.c:1632:115: error: request for member 'pkey' in something not a structure or union
# printf(" RSA Public Key: (%d bit)\n", BN_num_bits(publicKey->pkey.rsa->n));
# ^
# sslscan.c:1634:160: error: request for member 'pkey' in something not a structure or union
# fprintf(options->xmlOutput, " \n", BN_num_bits(publicKey->pkey.rsa->n));
# ^
# sslscan.c:1635:83: error: request for member 'pkey' in something not a structure or union
# RSA_print(stdoutBIO, publicKey->pkey.rsa, 6);
# ^
# sslscan.c:1638:85: error: request for member 'pkey' in something not a structure or union
# RSA_print(fileBIO, publicKey->pkey.rsa, 4);
# ^
# sslscan.c:1647:50: error: 'EVP_PKEY_DSA' undeclared (first use in this function)
# case EVP_PKEY_DSA:
# ^
# sslscan.c:1648:62: error: request for member 'pkey' in something not a structure or union
# if (publicKey->pkey.dsa)
# ^
# sslscan.c:1653:83: error: request for member 'pkey' in something not a structure or union
# DSA_print(stdoutBIO, publicKey->pkey.dsa, 6);
# ^
# sslscan.c:1656:85: error: request for member 'pkey' in something not a structure or union
# DSA_print(fileBIO, publicKey->pkey.dsa, 4);
# ^
# sslscan.c:1698:58: error: 'X509_FLAG_NO_EXTENSIONS' undeclared (first use in this function)
# if (!(X509_FLAG_COMPAT & X509_FLAG_NO_EXTENSIONS))
# ^
# sslscan.c:1700:71: error: request for member 'cert_info' in something not a structure or union
# if (sk_X509_EXTENSION_num(x509Cert->cert_info->extensions) > 0)
# ^
# sslscan.c:1705:99: error: request for member 'cert_info' in something not a structure or union
# for (tempInt = 0; tempInt < sk_X509_EXTENSION_num(x509Cert->cert_info->extensions); tempInt++)
# ^
# sslscan.c:1708:89: error: request for member 'cert_info' in something not a structure or union
# extension = sk_X509_EXTENSION_value(x509Cert->cert_info->extensions, tempInt);
# ^
# sslscan.c:1712:56: warning: assignment makes pointer from integer without a cast [enabled by default]
# asn1Object = X509_EXTENSION_get_object(extension);
# ^
# sslscan.c:1727:95: error: request for member 'value' in something not a structure or union
# M_ASN1_OCTET_STRING_print(stdoutBIO, extension->value);
# ^
# sslscan.c:1732:97: error: request for member 'value' in something not a structure or union
# M_ASN1_OCTET_STRING_print(fileBIO, extension->value);
# ^
# sslscan.c:1745:52: error: 'X509_V_OK' undeclared (first use in this function)
# if (verifyError == X509_V_OK)
# ^
# sslscan.c:1777:25: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could create SSL object.%s\n", COL_RED, RESET);
# ^
# sslscan.c:1784:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s ERROR: Could set cipher.%s\n", COL_RED, RESET);
# ^
# sslscan.c:1795:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Could not create CTX object.%s\n", COL_RED, RESET);
# ^
# sslscan.c: In function 'testHost':
# sslscan.c:1826:25: warning: assignment makes pointer from integer without a cast [enabled by default]
# options->hostStruct = gethostbyname(options->host);
# ^
# sslscan.c:1846:32: error: 'NULL' undeclared (first use in this function)
# if (options->hostStruct == NULL)
# ^
# sslscan.c:1848:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Could not resolve hostname %s.%s\n", COL_RED, options->host, RESET);
# ^
# sslscan.c:1854:60: error: dereferencing pointer to incomplete type
# options->serverAddress.sin_family = options->hostStruct->h_addrtype;
# ^
# sslscan.c:1855:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# memcpy((char *) &options->serverAddress.sin_addr.s_addr, options->hostStruct->h_addr_list[0], options->hostStruct->h_length);
# ^
# sslscan.c:1855:81: error: dereferencing pointer to incomplete type
# memcpy((char *) &options->serverAddress.sin_addr.s_addr, options->hostStruct->h_addr_list[0], options->hostStruct->h_length);
# ^
# sslscan.c:1855:118: error: dereferencing pointer to incomplete type
# memcpy((char *) &options->serverAddress.sin_addr.s_addr, options->hostStruct->h_addr_list[0], options->hostStruct->h_length);
# ^
# sslscan.c:1860:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options->xmlOutput, " \n", options->host, options->port);
# ^
# sslscan.c:1863:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("\n%sTesting SSL server %s on port %d%s\n\n", COL_GREEN, options->host, options->port, RESET);
# ^
# sslscan.c:1880:9: warning: passing argument 2 of 'testRenegotiation' makes pointer from integer without a cast [enabled by default]
# testRenegotiation(options, TLSv1_client_method());
# ^
# sslscan.c:754:5: note: expected 'const int *' but argument is of type 'int'
# int testRenegotiation(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1894:22: warning: assignment makes pointer from integer without a cast [enabled by default]
# options->ctx = SSL_CTX_new(sslCipherPointer->sslMethod);
# ^
# sslscan.c:1900:51: error: 'SSL_OP_ALL' undeclared (first use in this function)
# SSL_CTX_set_options(options->ctx, SSL_OP_ALL | 0);
# ^
# sslscan.c:1938:21: warning: passing argument 2 of 'defaultCipher' makes pointer from integer without a cast [enabled by default]
# status = defaultCipher(options, SSLv2_client_method());
# ^
# sslscan.c:1193:5: note: expected 'const int *' but argument is of type 'int'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1941:21: warning: passing argument 2 of 'defaultCipher' makes pointer from integer without a cast [enabled by default]
# status = defaultCipher(options, SSLv3_client_method());
# ^
# sslscan.c:1193:5: note: expected 'const int *' but argument is of type 'int'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1943:21: warning: passing argument 2 of 'defaultCipher' makes pointer from integer without a cast [enabled by default]
# status = defaultCipher(options, TLSv1_client_method());
# ^
# sslscan.c:1193:5: note: expected 'const int *' but argument is of type 'int'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1956:17: warning: passing argument 2 of 'defaultCipher' makes pointer from integer without a cast [enabled by default]
# status = defaultCipher(options, SSLv2_client_method());
# ^
# sslscan.c:1193:5: note: expected 'const int *' but argument is of type 'int'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1960:17: warning: passing argument 2 of 'defaultCipher' makes pointer from integer without a cast [enabled by default]
# status = defaultCipher(options, SSLv3_client_method());
# ^
# sslscan.c:1193:5: note: expected 'const int *' but argument is of type 'int'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c:1963:17: warning: passing argument 2 of 'defaultCipher' makes pointer from integer without a cast [enabled by default]
# status = defaultCipher(options, TLSv1_client_method());
# ^
# sslscan.c:1193:5: note: expected 'const int *' but argument is of type 'int'
# int defaultCipher(struct sslCheckOptions *options, const const SSL_METHOD *sslMethod)
# ^
# sslscan.c: In function 'str_to_ip':
# sslscan.c:1996:9: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default]
# if (sscanf(str,"%u.%u.%u.%u",&(in[0]),&(in[1]),&(in[2]),&(in[3])) == 4)
# ^
# sslscan.c:2001:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Invalid local IP address %s.%s\n", COL_RED, str, RESET);
# ^
# sslscan.c: In function 'main':
# sslscan.c:2024:5: error: unknown type name 'FILE'
# FILE *targetsFile;
# ^
# sslscan.c:2028:5: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(&options, 0, sizeof(struct sslCheckOptions));
# ^
# sslscan.c:2031:5: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
# strcpy(options.host, "127.0.0.1");
# ^
# sslscan.c:2054:70: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# else if ((strncmp("--targets=", argv[argLoop], 10) == 0) && (strlen(argv[argLoop]) > 10))
# ^
# sslscan.c:2065:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Local IP argument has wrong format: %s.%s\n", COL_RED, argv[argLoop]+10, RESET);
# ^
# sslscan.c:2066:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(0);
# ^
# sslscan.c:2182:13: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
# strncpy(options.host, argv[argLoop], sizeof(options.host) -1);
# ^
# sslscan.c:2212:27: warning: assignment makes pointer from integer without a cast [enabled by default]
# options.xmlOutput = fopen(argv[xmlArg] + 6, "w");
# ^
# sslscan.c:2213:34: error: 'NULL' undeclared (first use in this function)
# if (options.xmlOutput == NULL)
# ^
# sslscan.c:2215:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%sERROR: Could not open XML output file %s.%s\n", COL_RED, argv[xmlArg] + 6, RESET);
# ^
# sslscan.c:2216:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit(0);
# ^
# sslscan.c:2220:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options.xmlOutput, "\n\n", xml_version);
# ^
# sslscan.c:2226:13: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s\t\t%s\n\t\t%s\n%s\n", COL_BLUE, program_version,
# ^
# sslscan.c:2227:36: error: 'SSLEAY_VERSION' undeclared (first use in this function)
# SSLeay_version(SSLEAY_VERSION), RESET);
# ^
# sslscan.c:2299:21: warning: passing argument 2 of 'populateCipherList' makes pointer from integer without a cast [enabled by default]
# populateCipherList(&options, SSLv2_client_method());
# ^
# sslscan.c:189:5: note: expected 'const int *' but argument is of type 'int'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2302:21: warning: passing argument 2 of 'populateCipherList' makes pointer from integer without a cast [enabled by default]
# populateCipherList(&options, SSLv3_client_method());
# ^
# sslscan.c:189:5: note: expected 'const int *' but argument is of type 'int'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2303:21: warning: passing argument 2 of 'populateCipherList' makes pointer from integer without a cast [enabled by default]
# populateCipherList(&options, TLSv1_client_method());
# ^
# sslscan.c:189:5: note: expected 'const int *' but argument is of type 'int'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2313:21: warning: passing argument 2 of 'populateCipherList' makes pointer from integer without a cast [enabled by default]
# populateCipherList(&options, SSLv2_client_method());
# ^
# sslscan.c:189:5: note: expected 'const int *' but argument is of type 'int'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2317:21: warning: passing argument 2 of 'populateCipherList' makes pointer from integer without a cast [enabled by default]
# populateCipherList(&options, SSLv3_client_method());
# ^
# sslscan.c:189:5: note: expected 'const int *' but argument is of type 'int'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2320:21: warning: passing argument 2 of 'populateCipherList' makes pointer from integer without a cast [enabled by default]
# populateCipherList(&options, TLSv1_client_method());
# ^
# sslscan.c:189:5: note: expected 'const int *' but argument is of type 'int'
# int populateCipherList(struct sslCheckOptions *options, const SSL_METHOD *sslMethod)
# ^
# sslscan.c:2346:33: warning: assignment makes pointer from integer without a cast [enabled by default]
# targetsFile = fopen(argv[options.targets] + 10, "r");
# ^
# sslscan.c:2354:33: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# if (strlen(line) != 0)
# ^
# sslscan.c:2361:33: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
# strncpy(options.host, line, sizeof(options.host) -1);
# ^
# sslscan.c:2388:17: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(options.ciphers);
# ^
# sslscan.c:2397:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(options.xmlOutput, "\n");
# ^
# make: *** [Makefile:19: all] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...