]> The Tcpdump Group git mirrors - libpcap/blobdiff - sslutils.c
CI: Call print_so_deps() on rpcapd in remote enabled build
[libpcap] / sslutils.c
index 7274cc34c580bdf1bfe740c618ff318d4c0f7de7..c75b53784bb9c384046d40281d1aa31243bfcccb 100644 (file)
@@ -30,9 +30,7 @@
  *
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #ifdef HAVE_OPENSSL
 #include <stdlib.h>
@@ -133,7 +131,7 @@ die:
        return -1;
 }
 
-SSL *ssl_promotion(int is_server, SOCKET s, char *errbuf, size_t errbuflen)
+SSL *ssl_promotion(int is_server, PCAP_SOCKET s, char *errbuf, size_t errbuflen)
 {
        if (ssl_init_once(is_server, 1, errbuf, errbuflen) < 0) {
                return NULL;