Bug#828384: libcrypt-openssl-dsa-perl: FTBFS with openssl 1.1.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Mon Oct 3 16:42:20 UTC 2016


control: tags -1 patch

On 2016-06-26 12:22:30 [+0200], Kurt Roeckx wrote:
> There is a libssl-dev package available in experimental that contains a recent
> snapshot, I suggest you try building against that to see if everything works.

two patches attached. The testsuite passes.
Functions like set_p() need to query old q & g because with openssl
1.1.0 it is no longer possible to assign only one of them. That means
for the first assignment I have two dummy arguments which are later
overwritten. The better way would be to change the perl API to also
assign p, q and g at once. It also not possible to assign the private
key without the public key. Is this possible?

I needed to extend the length of the seed argument (in the testsuite)
for generate_parameters because 3 ("foo") is too small and openssl 1.1.0
no longer ignores this invalid argument.

> Kurt

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libcrypt-openssl-dsa-perl-add-openssl-1.1.0-support.patch
Type: text/x-diff
Size: 9582 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161003/d2a429c1/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-test-increase-seed.patch
Type: text/x-diff
Size: 1704 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161003/d2a429c1/attachment-0003.patch>


More information about the pkg-perl-maintainers mailing list