fix unit tests

This commit is contained in:
Sergio R. Caprile committed 2026-04-01 10:30:59 -03:00
1 parent 1620110f50
commit 9210a762de
4 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -1539,7 +1539,7 @@ static int mg_tls_verify_cert_signature(const struct mg_tls_cert *cert,
(unsigned) cert->tbshashsz, sig,
mg_uecc_secp256r1());
} else if (issuer->pubkey.len == 96) {
MG_VERBOSE(("ignore secp386 for now"));
MG_ERROR(("reject secp386 for now"));
return 0;
} else {
MG_ERROR(("unsupported public key length: %d", issuer->pubkey.len));