mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 11:00:54 +02:00
Fix : apply Julek pr notes
This commit is contained in:
@@ -12202,7 +12202,7 @@ const char* wolfSSL_alert_desc_string(int alertID)
|
||||
case missing_extension:
|
||||
return "ME";
|
||||
case unsupported_extension:
|
||||
return "XE";
|
||||
return "UE";
|
||||
case unrecognized_name:
|
||||
return "UN";
|
||||
case bad_certificate_status_response:
|
||||
|
||||
+1
-1
@@ -4984,7 +4984,7 @@ int wolfSSL_EVP_DigestSign(WOLFSSL_EVP_MD_CTX *ctx, unsigned char *sigret,
|
||||
return WOLFSSL_FAILURE;
|
||||
|
||||
if (sigret != NULL) {
|
||||
if (tbs == NULL || tbslen == 0)
|
||||
if (tbs == NULL)
|
||||
return WOLFSSL_FAILURE;
|
||||
if (wolfSSL_EVP_DigestSignUpdate(ctx, tbs, (unsigned int)tbslen)
|
||||
!= WOLFSSL_SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user