diff options
Diffstat (limited to '')
-rw-r--r-- | security/titus/files/patch-dh.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/security/titus/files/patch-dh.cpp b/security/titus/files/patch-dh.cpp deleted file mode 100644 index 4b373f50bea3..000000000000 --- a/security/titus/files/patch-dh.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- dh.cpp.orig 2015-11-28 22:51:00 UTC -+++ dh.cpp -@@ -148,11 +148,7 @@ openssl_unique_ptr<DH> make_dh (const unsigned char* p - throw Openssl_error(ERR_get_error()); - } - -- if ((dh->p = BN_bin2bn(prime, prime_len, NULL)) == NULL) { -- throw Openssl_error(ERR_get_error()); -- } -- -- if ((dh->g = BN_bin2bn(generator, generator_len, NULL)) == NULL) { -+ if (!DH_set0_pqg(dh.get(), BN_bin2bn(prime, prime_len, NULL), NULL, BN_bin2bn(generator, generator_len, NULL))) { - throw Openssl_error(ERR_get_error()); - } - |