]> 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:04:32 +0000 (09:04 +1000)
commit1fffbe855c54b6d3e1eff79191843e105e77b8b0
treec20f0df7ba9944d6534b2f063c24731c265387dd
parentd79ca0d2aef389fb68ac7c9b0818c27d77b15959
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)

(cherry picked from commit 925e4fba1098036e8f8d22652cff6f64c5c7d571)
crypto/ml_dsa/ml_dsa_key.c