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:
David Garske
2017-08-02 08:42:04 -07:00
parent be432d8d3a
commit 65b8389af0
6 changed files with 27 additions and 5 deletions

View File

@@ -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*);