mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Clean up after another round of analyzer execution.
This commit is contained in:
@@ -1074,6 +1074,7 @@ static int do_dual_alg_server_certgen(byte **out, char *caKeyFile,
|
|||||||
wc_FreeRsaKey(&caKey);
|
wc_FreeRsaKey(&caKey);
|
||||||
wc_FreeRsaKey(&serverKey);
|
wc_FreeRsaKey(&serverKey);
|
||||||
wc_FreeRng(&rng);
|
wc_FreeRng(&rng);
|
||||||
|
wc_FreeDecodedCert(&preTBS);
|
||||||
return outSz;
|
return outSz;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -27683,7 +27683,7 @@ static int EncodeName(EncodedName* name, const char* nameStr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WOLFSSL_CUSTOM_OID
|
#ifdef WOLFSSL_CUSTOM_OID
|
||||||
if (type == ASN_CUSTOM_NAME) {
|
if (ret == 0) && (type == ASN_CUSTOM_NAME) {
|
||||||
if (cname == NULL || cname->custom.oidSz == 0) {
|
if (cname == NULL || cname->custom.oidSz == 0) {
|
||||||
name->used = 0;
|
name->used = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user