summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_dgram.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_dgram.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_dgram.c')
-rw-r--r--src/lib/libcrypto/bio/bss_dgram.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bss_dgram.c b/src/lib/libcrypto/bio/bss_dgram.c
index 4c54601abc..50281b5650 100644
--- a/src/lib/libcrypto/bio/bss_dgram.c
+++ b/src/lib/libcrypto/bio/bss_dgram.c
@@ -60,10 +60,12 @@
60 60
61#include <stdio.h> 61#include <stdio.h>
62#include <errno.h> 62#include <errno.h>
63#define USE_SOCKETS
64#include "cryptlib.h" 63#include "cryptlib.h"
65
66#include <openssl/bio.h> 64#include <openssl/bio.h>
65#include <netdb.h>
66#include <sys/socket.h>
67#include <netinet/in.h>
68
67#ifndef OPENSSL_NO_DGRAM 69#ifndef OPENSSL_NO_DGRAM
68 70
69#ifndef OPENSSL_NO_SCTP 71#ifndef OPENSSL_NO_SCTP