diff options
author | marcus <marcus@FreeBSD.org> | 2018-11-02 17:06:24 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2018-11-02 17:06:24 +0800 |
commit | 3cd969d06b3f5e33ae6a7f9593652b1013f05e02 (patch) | |
tree | e9a317cef354e5e1b5e8c876aca8d396466fb216 /net | |
parent | 0da8179789915ebe1e456ccfa60996f4a6b210e5 (diff) | |
download | freebsd-ports-gnome-3cd969d06b3f5e33ae6a7f9593652b1013f05e02.tar.gz freebsd-ports-gnome-3cd969d06b3f5e33ae6a7f9593652b1013f05e02.tar.zst freebsd-ports-gnome-3cd969d06b3f5e33ae6a7f9593652b1013f05e02.zip |
Fix the build with OpenSSL 1.1.1.
PR: 232805
Submitted by: osidorkin@gmail.com
Diffstat (limited to 'net')
-rw-r--r-- | net/openslp/files/patch-common_slp__crypto.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/openslp/files/patch-common_slp__crypto.c b/net/openslp/files/patch-common_slp__crypto.c new file mode 100644 index 000000000000..d9eb5ab51231 --- /dev/null +++ b/net/openslp/files/patch-common_slp__crypto.c @@ -0,0 +1,22 @@ +--- common/slp_crypto.c.orig 2012-12-08 00:13:28.000000000 +0400 ++++ common/slp_crypto.c 2018-10-29 14:49:49.343271000 +0300 +@@ -83,18 +83,7 @@ + */ + SLPCryptoDSAKey * SLPCryptoDSAKeyDup(SLPCryptoDSAKey * dsa) + { +- SLPCryptoDSAKey * result; +- +- result = DSA_new(); +- if (result) +- { +- result->p = BN_dup(dsa->p); +- result->q = BN_dup(dsa->q); +- result->g = BN_dup(dsa->g); +- result->priv_key = BN_dup(dsa->priv_key); +- result->pub_key = BN_dup(dsa->pub_key); +- } +- return result; ++ return DSAparams_dup(dsa); + } + + /** Destroy a key that was created by SLPCryptoDSAKeyCreate. |