Skip to content

Commit 56e4612

Browse files
committed
Fix : apply Julek pr notes
1 parent f15c896 commit 56e4612

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
@@ -12202,7 +12202,7 @@ const char* wolfSSL_alert_desc_string(int alertID)
1220212202
case missing_extension:
1220312203
return "ME";
1220412204
case unsupported_extension:
12205-
return "XE";
12205+
return "UE";
1220612206
case unrecognized_name:
1220712207
return "UN";
1220812208
case bad_certificate_status_response:

wolfcrypt/src/evp.c

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

49864986
if (sigret != NULL) {
4987-
if (tbs == NULL || tbslen == 0)
4987+
if (tbs == NULL)
49884988
return WOLFSSL_FAILURE;
49894989
if (wolfSSL_EVP_DigestSignUpdate(ctx, tbs, (unsigned int)tbslen)
49904990
!= WOLFSSL_SUCCESS)

0 commit comments

Comments
 (0)