Browse Source

Merge branch 'fix_sha256_debug' of github.com:gojimmypi/wolfssl

kaleb-himes 2 years ago
parent
commit
49065373aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/internal.c

+ 1 - 1
src/internal.c

@@ -9064,7 +9064,7 @@ int HashRaw(WOLFSSL* ssl, const byte* data, int sz)
     #ifdef WOLFSSL_DEBUG_TLS
         WOLFSSL_MSG("Sha256");
         wc_Sha256GetHash(&ssl->hsHashes->hashSha256, digest);
-        WOLFSSL_BUFFER(digest, WC_SHA224_DIGEST_SIZE);
+        WOLFSSL_BUFFER(digest, WC_SHA256_DIGEST_SIZE);
     #endif
     #endif
     #ifdef WOLFSSL_SHA384