diff options
| author | William Grzybowski <wg@FreeBSD.org> | 2014-08-23 19:06:59 +0000 |
|---|---|---|
| committer | William Grzybowski <wg@FreeBSD.org> | 2014-08-23 19:06:59 +0000 |
| commit | 2900e261c0b7897d21449a53f1daa8b1b506b54b (patch) | |
| tree | 8be571e19712adbc47102b2c9c727564705d2390 /net-p2p/uhub/files/patch-src__network__openssl.c | |
| parent | 070ae96b8358a4fd11cd83971d15e0d48554a744 (diff) | |
net-p2p/uhub: update to 0.5.0
PR: 192805
Submitted by: tkato432 yahoo com
Diffstat (limited to 'net-p2p/uhub/files/patch-src__network__openssl.c')
| -rw-r--r-- | net-p2p/uhub/files/patch-src__network__openssl.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/uhub/files/patch-src__network__openssl.c b/net-p2p/uhub/files/patch-src__network__openssl.c new file mode 100644 index 000000000000..c1b67184db8c --- /dev/null +++ b/net-p2p/uhub/files/patch-src__network__openssl.c @@ -0,0 +1,15 @@ +--- src/network/openssl.c.orig ++++ src/network/openssl.c +@@ -106,10 +106,12 @@ + + if (!strcmp(tls_version, "1.0")) + return TLSv1_method(); ++#if OPENSSL_VERSION_NUMBER >= 0x1000100fL + if (!strcmp(tls_version, "1.1")) + return TLSv1_1_method(); + if (!strcmp(tls_version, "1.2")) + return TLSv1_2_method(); ++#endif + + LOG_ERROR("Unable to recognize tls_version."); + return 0; |
