X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=tools%2Ferrors.c;h=22f0c3058d4d8a4a97feea8eb5bf5ae81e5240b6;hp=e9c6dfa3c01a7913d1d278f751bc32f342f61aa1;hb=f81a2828787c3ae7903bff66d64d71d6362ab4e1;hpb=3210f38e0491b39aec1ef419cb4114e9483089fb diff --git a/tools/errors.c b/tools/errors.c index e9c6dfa..22f0c30 100644 --- a/tools/errors.c +++ b/tools/errors.c @@ -157,7 +157,18 @@ static struct { }, { BR_ERR_BAD_SIGNATURE, "BR_ERR_BAD_SIGNATURE", - "Invalid signature on ServerKeyExchange message." + "Invalid signature in ServerKeyExchange or" + " CertificateVerify message." + }, { + BR_ERR_WRONG_KEY_USAGE, + "BR_ERR_WRONG_KEY_USAGE", + "Peer's public key does not have the proper type or is" + " not allowed for the requested operation." + }, { + BR_ERR_NO_CLIENT_AUTH, + "BR_ERR_NO_CLIENT_AUTH", + "Client did not send a certificate upon request, or the" + " client certificate could not be validated." }, { BR_ERR_IO, "BR_ERR_IO",