]> git.ipfire.org Git - thirdparty/strongswan.git/commit
unit-tests: Point out if ECDSA public key was rejected after private keys was not
authorTobias Brunner <tobias@strongswan.org>
Wed, 13 Mar 2024 14:34:48 +0000 (15:34 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 13 Mar 2024 15:47:20 +0000 (16:47 +0100)
commit6628c523c276faa3b43394b29dad16e168081b2b
tree651f571fe040a055ad64068229a222517e17b41e
parent6f8275ababa99238887071d175ca76cd3801fa35
unit-tests: Point out if ECDSA public key was rejected after private keys was not

AWS-LC rejects public keys with explicitly encoded parameters but allows
private keys that use explicit encodings of the NIST curves.  Since the
more important aspect is that public keys are rejected, this addition to
the warning message points that out.

References strongswan/strongswan#1907
src/libstrongswan/tests/suites/test_ecdsa.c