diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/skyutils/Makefile | 2 | ||||
-rw-r--r-- | misc/skyutils/files/patch-src_web.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/skyutils/Makefile b/misc/skyutils/Makefile index 6eb7bee4f3a4..7c788edb3987 100644 --- a/misc/skyutils/Makefile +++ b/misc/skyutils/Makefile @@ -11,7 +11,7 @@ MASTER_SITES= LOCAL/laszlof \ MAINTAINER= ports@FreeBSD.org COMMENT= Library required by smssend (same author) -USES= autoreconf libtool +USES= autoreconf libtool ssl GNU_CONFIGURE= yes USE_LDCONFIG= yes diff --git a/misc/skyutils/files/patch-src_web.c b/misc/skyutils/files/patch-src_web.c new file mode 100644 index 000000000000..e75d1ca64c19 --- /dev/null +++ b/misc/skyutils/files/patch-src_web.c @@ -0,0 +1,14 @@ +--- src/web.c.orig 2006-04-24 08:44:09 UTC ++++ src/web.c +@@ -123,7 +123,11 @@ SSL_CTX *SU_SSL_InitializeCTX(char *pcEr + char errormsg[1024]; + SSL_CTX *sslctx; + ++#ifndef OPENSSL_NO_SSL3 + sslctx = SSL_CTX_new(SSLv3_client_method()); ++#else ++ sslctx = SSL_CTX_new(SSLv23_client_method()); ++#endif + if(sslctx == NULL) + { + ERR_error_string(ERR_get_error(), errormsg); |