summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2014-05-22 17:43:52 +0000
committerjsing <>2014-05-22 17:43:52 +0000
commit1daf1f522a26bc92ef488c760b18c65ff223b0af (patch)
tree6484c6b39bca5e864afb2f808f3b41cb9668da42 /src/lib/libssl/ssl_locl.h
parent32a82f1d836ae0b4585960be533eecc2e39c1cb7 (diff)
downloadopenbsd-1daf1f522a26bc92ef488c760b18c65ff223b0af.tar.gz
openbsd-1daf1f522a26bc92ef488c760b18c65ff223b0af.tar.bz2
openbsd-1daf1f522a26bc92ef488c760b18c65ff223b0af.zip
There are two actual uses of e_os2.h in libssl - an OPENSSL_GLOBAL (an
empty define) and an OPENSSL_EXTERN (which is defined as, well... extern). The use of OPENSSL_EXTERN is already inconsistent since the lines above and below just use plain old "extern". Expand the two uses of these macros and stop including e_os2.h in libssl. ok miod@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 012a38cc5c..fc9d6a1027 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -152,7 +152,6 @@
152#include <unistd.h> 152#include <unistd.h>
153 153
154#include <openssl/opensslconf.h> 154#include <openssl/opensslconf.h>
155#include <openssl/e_os2.h>
156#include <openssl/buffer.h> 155#include <openssl/buffer.h>
157#ifndef OPENSSL_NO_COMP 156#ifndef OPENSSL_NO_COMP
158#include <openssl/comp.h> 157#include <openssl/comp.h>
@@ -566,8 +565,7 @@ typedef struct ssl3_comp_st {
566#endif 565#endif
567 566
568extern SSL3_ENC_METHOD ssl3_undef_enc_method; 567extern SSL3_ENC_METHOD ssl3_undef_enc_method;
569OPENSSL_EXTERN SSL_CIPHER ssl3_ciphers[]; 568extern SSL_CIPHER ssl3_ciphers[];
570
571 569
572SSL_METHOD *ssl_bad_method(int ver); 570SSL_METHOD *ssl_bad_method(int ver);
573 571