]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/ml_dsa: fix public_from_private() error path to return failure
authorrodeka <rodeka.core@ya.ru>
Tue, 16 Sep 2025 17:38:17 +0000 (20:38 +0300)
committerPauli <paul.dale@oracle.com>
Wed, 17 Sep 2025 23:03:48 +0000 (09:03 +1000)
commit925e4fba1098036e8f8d22652cff6f64c5c7d571
tree3cdfe2952c3f4bf28666174404d7f00d7c7dbc8d
parent520ca2d20e5f3e478d967ee0a551b259a12bb995
crypto/ml_dsa: fix public_from_private() error path to return failure

The error label returned success (1) even on failure. Make it return failure (0) instead.
Fixes #28562

CLA: trivial

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28576)
crypto/ml_dsa/ml_dsa_key.c