wolfcrypt/src/asn.c: move final return in DecodeECC_DSA_Sig() outside the NO_STRICT_ECDSA_LEN gate, to avoid no-return-from-non-void.

This commit is contained in:
Daniel Pouzzner
2022-07-06 17:39:59 -05:00
parent eff4fe398b
commit 82b1dc0cd0

View File

@@ -28276,8 +28276,8 @@ int DecodeECC_DSA_Sig(const byte* sig, word32 sigLen, mp_int* r, mp_int* s)
ret = ASN_ECC_KEY_E; ret = ASN_ECC_KEY_E;
} }
return ret;
#endif #endif
return ret;
#endif /* WOLFSSL_ASN_TEMPLATE */ #endif /* WOLFSSL_ASN_TEMPLATE */
} }
#endif #endif