Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 459246 Details for
Bug 605134
dev-perl/Crypt-OpenSSL-DSA-0.180.0 with dev-libs/openssl-1.1.0c fails tests - t/00-use.t ............. Can't load '/var/tmp/portage/dev-perl/Crypt-OpenSSL-DSA-0.180.0/work/Crypt-OpenSSL-DSA-0.18/blib/arch/auto/Crypt/OpenSSL/DSA/DSA.so' for module Crypt::O
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Fix-building-against-openssl-1.1.0-without-compat-mo.patch
0001-Fix-building-against-openssl-1.1.0-without-compat-mo.patch (text/plain), 1.53 KB, created by
eroen
on 2017-01-09 00:25:51 UTC
(
hide
)
Description:
0001-Fix-building-against-openssl-1.1.0-without-compat-mo.patch
Filename:
MIME Type:
Creator:
eroen
Created:
2017-01-09 00:25:51 UTC
Size:
1.53 KB
patch
obsolete
>From 66d82ea5e45f027ad127dc737e391a0c32be00d7 Mon Sep 17 00:00:00 2001 >From: eroen <perl-Crypt-OpenSSL-DSA@occam.eroen.eu> >Date: Mon, 9 Jan 2017 01:17:29 +0100 >Subject: [PATCH] Fix building against openssl 1.1.0 without compat modes > >This lets us use openssl 1.1.0 built with `--api=1.1 disable-deprecated`. > >- Don't call deprecated initialization functions >- Use new DSA_generate_parameters_ex > >X-Gentoo-Bug: 605134 >X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=605134 >--- > DSA.xs | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/DSA.xs b/DSA.xs >index b24184f..70db0b8 100644 >--- a/DSA.xs >+++ b/DSA.xs >@@ -13,6 +13,7 @@ extern "C" { > #include <openssl/pem.h> > #include <openssl/dsa.h> > #include <openssl/ssl.h> >+#include <openssl/opensslv.h> > > #ifdef __cplusplus > } >@@ -112,7 +113,9 @@ MODULE = Crypt::OpenSSL::DSA PACKAGE = Crypt::OpenSSL::DSA > PROTOTYPES: DISABLE > > BOOT: >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > ERR_load_crypto_strings(); >+#endif > > DSA * > new(CLASS) >@@ -142,8 +145,13 @@ generate_parameters(CLASS, bits, seed = NULL) > if (seed) { > seedpv = SvPV(seed, seed_len); > } >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > dsa = DSA_generate_parameters(bits, seedpv, (int)seed_len, NULL, NULL, NULL, NULL); > if (!dsa) { >+#else >+ dsa = DSA_new(); >+ if (!DSA_generate_parameters_ex(dsa, bits, seedpv, (int)seed_len, NULL, NULL, NULL)) { >+#endif > err = ERR_get_error(); > if (err == 0) { > croak("DSA_generate_parameters() returned NULL"); >-- >2.11.0 >
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 605134
:
459244
| 459246