Package: libcrypt-openssl-x509-perl / 1.8.7-3

Metadata

Package Version Patches format
libcrypt-openssl-x509-perl 1.8.7-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 libcrypt openssl x509 perl compile against openssl 1.patch | (download)

X509.pm | 6 3 + 3 - 0 !
X509.xs | 238 169 + 69 - 0 !
2 files changed, 172 insertions(+), 72 deletions(-)

 [patch] libcrypt-openssl-x509-perl: compile against openssl 1.1.0

and keep it working against openssl 1.0.2j

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

0002 Fix STACK_OF OPENSSL_STRING conflicts with OpenSSL 1.patch | (download)

X509.xs | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 [patch] fix stack_of(openssl_string) conflicts with openssl 1.1.0

Since OpenSSL 1.1.0, STACK_OF(OPENSSL_STRING) defines
sk_OPENSSL_STRING_num() and other accessors as a functions, not
macros. Thus the #ifndef sk_OPENSSL_STRING_num incorrectly redefined
them and caused fatal warnings about incompatible types.

This patch redefines the accessors only with OpenSSL older than 1.1.0.

<https://github.com/dsully/perl-crypt-openssl-x509/issues/53>