diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-16 05:34:33 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-16 05:34:33 +0000 |
commit | 443cc9ea79c6fe8c0ccb29e53c3e71e9ec69ef39 (patch) | |
tree | 6cd6c99a0e209b7d68b53cf8b95627c00530fc50 /security/sslwrap/files/patch-s_server.c | |
parent | Reset maintainer: (diff) |
add several patches to make it compiling on -current again.
Informed maintainer.
Diffstat (limited to 'security/sslwrap/files/patch-s_server.c')
-rw-r--r-- | security/sslwrap/files/patch-s_server.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/security/sslwrap/files/patch-s_server.c b/security/sslwrap/files/patch-s_server.c new file mode 100644 index 000000000000..123987969e03 --- /dev/null +++ b/security/sslwrap/files/patch-s_server.c @@ -0,0 +1,32 @@ +--- s_server.c.orig Sat Nov 11 14:11:18 2000 ++++ s_server.c Wed Oct 15 22:31:56 2003 +@@ -121,14 +121,14 @@ + #ifdef WIN16 + #define APPS_WIN16 + #endif +-#include OPENSSL"lhash.h" +-#include OPENSSL"bn.h" ++#include "openssl//lhash.h" ++#include "openssl//bn.h" + #define USE_SOCKETS + #include "apps.h" +-#include OPENSSL"err.h" +-#include OPENSSL"pem.h" +-#include OPENSSL"x509.h" +-#include OPENSSL"ssl.h" ++#include "openssl//err.h" ++#include "openssl//pem.h" ++#include "openssl//x509.h" ++#include "openssl//ssl.h" + #include "s_apps.h" + + #ifndef NOPROTO +@@ -468,7 +468,7 @@ + + if (bugs) SSL_CTX_set_options(ctx,SSL_OP_ALL); + if (hack) SSL_CTX_set_options(ctx,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG); +- if (hack) SSL_CTX_set_options(ctx,SSL_OP_NON_EXPORT_FIRST); ++ if (hack) SSL_CTX_set_options(ctx,SSL_OP_CIPHER_SERVER_PREFERENCE); + + if (state) SSL_CTX_set_info_callback(ctx,apps_ssl_info_callback); + |