Bug#995657: clevis: FTBFS with OpenSSL 3.0

2021-10-03 Thread Christoph Biedl
Control: tags 995657 fixed-upstream

Kurt Roeckx wrote...

> Your package is failing to build using OpenSSL 3.0 with the
> following error:
(...)

Without having checked, I'm fairly confident upstream commit

https://github.com/latchset/clevis/commit/ee1dfedb9baca107e66a0fec76693c9d479dcfd9
("sss: use BN_set_word(x, 0) instead of BN_zero()")

resolves this. If this is a pressing issue, I can cherry-pick that one.
In that case, let me know or raise the severity to RC (which I assume
will happen some day anyway).

Else I'd just wait until next upstream release which I expect to happen
somewhen in the next months at most.

Regards,
Christoph


signature.asc
Description: PGP signature


Bug#995657: clevis: FTBFS with OpenSSL 3.0

2021-10-03 Thread Kurt Roeckx
Source: clevis
Version: 18-1
Severity: important
Tags: bookworm sid
User: pkg-openssl-de...@lists.alioth.debian.org
Usertags: ftbfs-3.0

Hi,

Your package is failing to build using OpenSSL 3.0 with the
following error:
In file included from ../src/pins/sss/sss.c:41:
../src/pins/sss/sss.c: In function ‘sss_point’:
../src/pins/sss/sss.c:217:9: error: void value not ignored as it ought to be
  217 | if (BN_zero(yy) <= 0)
  | ^~~
../src/pins/sss/sss.c: In function ‘sss_recover’:
../src/pins/sss/sss.c:275:9: error: void value not ignored as it ought to be
  275 | if (BN_zero(k) <= 0)
  | ^~~
../src/pins/sss/sss.c:306:17: error: void value not ignored as it ought to be
  306 | if (BN_zero(tmp) <= 0)
  | ^~~
ninja: build stopped: subcommand failed.

The manpage says:
In OpenSSL 0.9.8, BN_zero() was changed to not return a value; previous 
versions returned an int.


Kurt