forked from wolfSSL/wolfssl
Fix for handling hash copies to make sure copied buffer is not free’d. Resolves issues when testing TLS connection with wolfssl_tcp_client
and openurl https://www.google.com/
.
This commit is contained in:
@@ -48,7 +48,7 @@ enum {
|
||||
|
||||
/* SHA */
|
||||
typedef struct CRYPT_SHA_CTX {
|
||||
int holder[28]; /* big enough to hold internal, but check on init */
|
||||
int holder[29]; /* big enough to hold internal, but check on init */
|
||||
} CRYPT_SHA_CTX;
|
||||
|
||||
int CRYPT_SHA_Initialize(CRYPT_SHA_CTX*);
|
||||
|
Reference in New Issue
Block a user