Addressing PR comments

TODO should not have been in the changes
indentation of #ifdef moved in line with the 'if' conditional
This commit is contained in:
Andras Fekete
2023-01-03 14:55:07 -05:00
parent dc6ffc790d
commit 914d3114de

View File

@ -7793,7 +7793,7 @@ int wolfSSL_EVP_MD_type(const WOLFSSL_EVP_MD* type)
} }
if (ret < 0) { if (ret < 0) {
if (ret == AES_GCM_AUTH_E) { // todo: check this if (ret == AES_GCM_AUTH_E) {
WOLFSSL_MSG("wolfSSL_EVP_Cipher failure: bad AES-GCM tag."); WOLFSSL_MSG("wolfSSL_EVP_Cipher failure: bad AES-GCM tag.");
} }
WOLFSSL_MSG("wolfSSL_EVP_Cipher failure"); WOLFSSL_MSG("wolfSSL_EVP_Cipher failure");