mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 19:10:50 +02:00
Merge pull request #9270 from effbiae/sm3-free-x2
double free -- should be o_hash
This commit is contained in:
@@ -1415,7 +1415,7 @@ void wc_HmacFree(Hmac* hmac)
|
||||
wc_Sm3Free(&hmac->hash.sm3);
|
||||
#ifdef WOLFSSL_HMAC_COPY_HASH
|
||||
wc_Sm3Free(&hmac->i_hash.sm3);
|
||||
wc_Sm3Free(&hmac->i_hash.sm3);
|
||||
wc_Sm3Free(&hmac->o_hash.sm3);
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user