FreeBSD Bugzilla – Attachment 198763 Details for
Bug 232805
net/openslp: fix build on stable/12 with crypto option enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for net/openslp + openssl 1.1 build
openslp-crypto.patch (text/plain), 1.24 KB, created by
Oleg Sidorkin
on 2018-10-30 08:30:35 UTC
(
hide
)
Description:
fix for net/openslp + openssl 1.1 build
Filename:
MIME Type:
Creator:
Oleg Sidorkin
Created:
2018-10-30 08:30:35 UTC
Size:
1.24 KB
patch
obsolete
>Index: net/openslp/files/patch-common_slp__crypto.c >=================================================================== >--- net/openslp/files/patch-common_slp__crypto.c (nonexistent) >+++ net/openslp/files/patch-common_slp__crypto.c (working copy) >@@ -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. > >Property changes on: net/openslp/files/patch-common_slp__crypto.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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232805
: 198763