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
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