diff --git a/security/distcache/Makefile b/security/distcache/Makefile index 1fe6c654077d..9deb531c763d 100644 --- a/security/distcache/Makefile +++ b/security/distcache/Makefile @@ -38,6 +38,6 @@ post-install-DOCS-on: (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) do-test: - @cd ${WRKSRC} && ${SH} devel/test.sh + @cd ${TEST_WRKSRC} && ${SH} devel/test.sh .include diff --git a/security/distcache/files/patch-ssl__swamp__utils.c b/security/distcache/files/patch-ssl__swamp__utils.c index ab38bc962a37..1c51d95681c8 100644 --- a/security/distcache/files/patch-ssl__swamp__utils.c +++ b/security/distcache/files/patch-ssl__swamp__utils.c @@ -8,7 +8,7 @@ else if(!strcmp(str_toconvert, "sslv2")) *val = SWAMP_SSLMETH_SSLv2; +#endif -+#ifndef OPENSSL_NO_SSL3 ++#ifndef OPENSSL_NO_SSL3_METHOD else if(!strcmp(str_toconvert, "sslv3")) *val = SWAMP_SSLMETH_SSLv3; +#endif