]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - src/libstrongswan/tests/suites/test_ecdsa.c
unit-tests: Point out if ECDSA public key was rejected after private keys was not
[thirdparty/strongswan.git] / src / libstrongswan / tests / suites / test_ecdsa.c
index 599a64083f71e7030c322b166e16284a1079743d..0cb16f68f198f139c4b81a7b5f49374fea91ca3c 100644 (file)
@@ -413,7 +413,8 @@ START_TEST(test_load_reject_explicit_params)
        if (privkey)
        {
                privkey->destroy(privkey);
-               warn("ECDSA private key with explicit parameters not rejected");
+               warn("ECDSA private key with explicit parameters not rejected%s",
+                        pubkey ? "" : ", but at least the public key was");
        }
 }
 END_TEST