Working within the FreeBSD CoC FreeBSD 11.1-STABLE r329008M amd64 1101509 1101509, using libressl In file included from crypto_openssl.c:44: ./openssl_compat.h:717:1: error: static declaration of 'SSL_CTX_set_min_proto_version' follows non-static declaration SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long tls_ver_min) ^ /usr/local/include/openssl/ssl.h:1175:5: note: previous declaration is here int SSL_CTX_set_min_proto_version(SSL_CTX *ctx, uint16_t version); ^ In file included from crypto_openssl.c:44: ./openssl_compat.h:746:1: error: static declaration of 'SSL_CTX_set_max_proto_version' follows non-static declaration SSL_CTX_set_max_proto_version(SSL_CTX *ctx, long tls_ver_max) ^ /usr/local/include/openssl/ssl.h:1176:5: note: previous declaration is here int SSL_CTX_set_max_proto_version(SSL_CTX *ctx, uint16_t version);
Should solved with recent committed ports r464440.
Rectified while this PR was prepared. Thank-you. However I think you should tweak the PORTREVISION as the produced code has been changed.
Dewayne, I do not think that a PORTREVISION bump is necessary. The patch fixes a build that was previously failing (i. e. where no package/build was previously generated, so nothing could change under LibreSSL option), and to me the patch does not look as though it would affect the generated code of OpenSSL- or mbedTLS-based builds. If someone can show me otherwise (i. e. that a SUCCEEDING build changes generated code - and I do not mean embedded timestamps in the builds, only actual code changes), I will bump PORTREVISION, but not sooner. *** This bug has been marked as a duplicate of bug 226568 ***