Index: head/net/haproxy/files/patch-src-ssl_sock.c =================================================================== --- head/net/haproxy/files/patch-src-ssl_sock.c (nonexistent) +++ head/net/haproxy/files/patch-src-ssl_sock.c (revision 399965) @@ -0,0 +1,19 @@ +--- src/ssl_sock.c ++++ src/ssl_sock.c +@@ -1091,12 +1091,16 @@ ssl_sock_do_create_cert(const char *servername, unsigned int serial, + else if (EVP_PKEY_type (capkey->type) == EVP_PKEY_EC) + digest = EVP_sha256(); + else { ++#if (OPENSSL_VERSION_NUMBER >= 0x1000000fL) + int nid; + + if (EVP_PKEY_get_default_digest_nid(capkey, &nid) <= 0) + goto mkcert_error; + if (!(digest = EVP_get_digestbynid(nid))) + goto mkcert_error; ++#else ++ goto mkcert_error; ++#endif + } + + if (!(X509_sign(newcrt, capkey, digest))) Property changes on: head/net/haproxy/files/patch-src-ssl_sock.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property