Bug#1006578: swi-prolog: FTBFS with OpenSSL 3.0

2022-02-28 Thread dogsleg
Hi Sebastian,

Sebastian Andrzej Siewior писал 2022-02-28 03:41:
> Source: swi-prolog
> Version: 8.2.4+dfsg-1
> Severity: important
> Tags: bookworm sid
> User: pkg-openssl-de...@lists.alioth.debian.org
> Usertags: ftbfs-3.0
> 
> Your package is failing to build using OpenSSL 3.0 with the
> following error:
> 
> | /<>/packages/ssl/crypto4pl.c: In function ‘get_padding’:
> | /<>/packages/ssl/crypto4pl.c:851:69: error:
> ‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did
> you mean ‘RSA_X931_PADDING’?
> |   851 | else if ( a == ATOM_sslv23  && mode == RSA_MODE )   
> *padding = RSA_SSLV23_PADDING;
> |   | 
>^~
> |   | 
>RSA_X931_PADDING
> | /<>/packages/ssl/crypto4pl.c:851:69: note: each
> undeclared identifier is reported only once for each function it
> appears in

This is version of swi-prolog from testing, newer version in unstable,
8.4.2+dfsg-2, should compile clean against OpenSSL 3.0. Sorry, at the
moment
I cannot test it by myself. Could you re-run your build test for the
version in unstable?

With regards,
Lev



Bug#1006578: swi-prolog: FTBFS with OpenSSL 3.0

2022-02-27 Thread Sebastian Andrzej Siewior
Source: swi-prolog
Version: 8.2.4+dfsg-1
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Your package is failing to build using OpenSSL 3.0 with the
following error:

| /<>/packages/ssl/crypto4pl.c: In function ‘get_padding’:
| /<>/packages/ssl/crypto4pl.c:851:69: error: 
‘RSA_SSLV23_PADDING’ undeclared (first use in this function); did you mean 
‘RSA_X931_PADDING’?
|   851 | else if ( a == ATOM_sslv23  && mode == RSA_MODE )*padding = 
RSA_SSLV23_PADDING;
|   | 
^~
|   | 
RSA_X931_PADDING
| /<>/packages/ssl/crypto4pl.c:851:69: note: each undeclared 
identifier is reported only once for each function it appears in

For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html

Sebastian