mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
misc/skyutils: Fix build without SSLv3
- Use SSLv23_methods - Add USES= ssl Approved by: SSL blanket
This commit is contained in:
parent
f0e3d35ca5
commit
c4ee2eac58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428304
@ -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
|
||||
|
||||
|
14
misc/skyutils/files/patch-src_web.c
Normal file
14
misc/skyutils/files/patch-src_web.c
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user