Update s_server.c by the following instruction from the openssl changelog

*) New option SSL_OP_CIPHER_SERVER_PREFERENCE allows the server to override
   the clients preferred ciphersuites and rather use its own preferences.
   Should help to work around M$ SGC (Server Gated Cryptography) bug in
   Internet Explorer by ensuring unchanged hash method during stepup.
   (Also replaces the broken/deactivated SSL_OP_NON_EXPORT_FIRST option.)
           [Lutz Jaenicke]

PR:		54280
Submitted by:	Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
This commit is contained in:
Tilman Keskinoz 2003-07-23 16:58:28 +00:00
parent ef10104630
commit 007a61529b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85470

View File

@ -14,12 +14,14 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ZGabor@CoDe.HU
COMMENT= Another SSL Wrapper application, which uses SSLEay/OpenSSL
BROKEN= "Does not compile"
USE_OPENSSL= YES
USE_REINPLACE= YES
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
post-patch:
${REINPLACE_CMD} -e 's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' ${WRKSRC}/s_server.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap
.if !defined(NOPORTDOCS)