FreeBSD Bugzilla – Attachment 198006 Details for
Bug 232154
[PATCH] audio/xmms2: fix OpenSSL 1.1.1 build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
xmms2 patch
xmms2.diff (text/plain), 1.38 KB, created by
Guido Falsi
on 2018-10-10 17:02:58 UTC
(
hide
)
Description:
xmms2 patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2018-10-10 17:02:58 UTC
Size:
1.38 KB
patch
obsolete
>Index: files/patch-src_plugins_airplay_raop__client.c >=================================================================== >--- files/patch-src_plugins_airplay_raop__client.c (nonexistent) >+++ files/patch-src_plugins_airplay_raop__client.c (working copy) >@@ -0,0 +1,25 @@ >+--- src/plugins/airplay/raop_client.c.orig 2011-10-20 19:26:08 UTC >++++ src/plugins/airplay/raop_client.c >+@@ -1,6 +1,8 @@ >+ #include <string.h> >+ #include <unistd.h> >+ >++#include <openssl/opensslv.h> >++#include <openssl/ossl_typ.h> >+ #include <openssl/rand.h> >+ #include <openssl/rsa.h> >+ #include <openssl/bio.h> >+@@ -137,8 +139,13 @@ raop_rsa_encrypt (guchar *text, gint len, guchar *res) >+ static const guchar exp[] = {0x01, 0x00, 0x01}; >+ >+ rsa = RSA_new (); >++ >++#if OPENSSL_VERSION_NUMBER < 0x10100000L >+ rsa->n = BN_bin2bn (mod, 256, NULL); >+ rsa->e = BN_bin2bn (exp, 3, NULL); >++#else >++ RSA_set0_key(rsa, BN_bin2bn (mod, 256, NULL), BN_bin2bn (exp, 3, NULL), NULL); >++#endif >+ >+ size = RSA_public_encrypt (len, text, res, rsa, RSA_PKCS1_OAEP_PADDING); >+ > >Property changes on: files/patch-src_plugins_airplay_raop__client.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 232154
: 198006