Re: ssh-pkcs11.c: fix some error messages

2023-03-07 Thread Damien Miller
On Tue, 7 Mar 2023, Theo Buehler wrote: > Some error messages don't match the function calls. There's still this > one that looks weird. Not sure what it should say to be helpful: > "unexpected ec signature length" perhaps? > > if (siglen < 64 || siglen > 132 || siglen % 2) { >

ssh-pkcs11.c: fix some error messages

2023-03-07 Thread Theo Buehler
Some error messages don't match the function calls. There's still this one that looks weird. Not sure what it should say to be helpful: "unexpected ec signature length" perhaps? if (siglen < 64 || siglen > 132 || siglen % 2) { ossl_error("d2i_ECDSA_SIG failed"); Index: ssh