summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_conn.c
diff options
context:
space:
mode:
authorderaadt <>2014-04-17 20:58:08 +0000
committerderaadt <>2014-04-17 20:58:08 +0000
commitdea2616f54bc531ab8af0d74ac00fd23f61ba61d (patch)
treea5c70a75ed1efb1996231f6e5bcd7edfd923d47c /src/lib/libcrypto/bio/bss_conn.c
parent6800e69ce3db198d08e1e509efdb706f4d2b4cf0 (diff)
downloadopenbsd-dea2616f54bc531ab8af0d74ac00fd23f61ba61d.tar.gz
openbsd-dea2616f54bc531ab8af0d74ac00fd23f61ba61d.tar.bz2
openbsd-dea2616f54bc531ab8af0d74ac00fd23f61ba61d.zip
Mostly gut e_os.h:
USE_SOCKETS is unrelated to using sockets, but just pulls in .h files. It makes every file buy a kitchen sink, because 11 files forgot to. EXIT() is really exit(), a gentle surprise but... OPENSSL_EXIT() is really just return(), because noone compiles the openssl command non-monolithic anymore
Diffstat (limited to 'src/lib/libcrypto/bio/bss_conn.c')
-rw-r--r--src/lib/libcrypto/bio/bss_conn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c
index 9c5320cafb..46667bc7d6 100644
--- a/src/lib/libcrypto/bio/bss_conn.c
+++ b/src/lib/libcrypto/bio/bss_conn.c
@@ -58,9 +58,11 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <errno.h> 60#include <errno.h>
61#define USE_SOCKETS
62#include "cryptlib.h" 61#include "cryptlib.h"
63#include <openssl/bio.h> 62#include <openssl/bio.h>
63#include <netdb.h>
64#include <sys/socket.h>
65#include <netinet/in.h>
64 66
65#ifndef OPENSSL_NO_SOCK 67#ifndef OPENSSL_NO_SOCK
66 68