Skip to content

Commit dab361c

Browse files
committed
Fix : apply Julek pr notes
1 parent fc7bd37 commit dab361c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12125,7 +12125,7 @@ const char* wolfSSL_alert_desc_string(int alertID)
1212512125
case missing_extension:
1212612126
return "ME";
1212712127
case unsupported_extension:
12128-
return "XE";
12128+
return "UE";
1212912129
case unrecognized_name:
1213012130
return "UN";
1213112131
case bad_certificate_status_response:

wolfcrypt/src/evp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4960,7 +4960,7 @@ int wolfSSL_EVP_DigestSign(WOLFSSL_EVP_MD_CTX *ctx, unsigned char *sigret,
49604960
return WOLFSSL_FAILURE;
49614961

49624962
if (sigret != NULL) {
4963-
if (tbs == NULL || tbslen == 0)
4963+
if (tbs == NULL)
49644964
return WOLFSSL_FAILURE;
49654965
if (wolfSSL_EVP_DigestSignUpdate(ctx, tbs, (unsigned int)tbslen)
49664966
!= WOLFSSL_SUCCESS)

0 commit comments

Comments
 (0)