mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
fix for return value of x509 print
This commit is contained in:
@ -5795,7 +5795,11 @@ static int X509PrintExtensions(WOLFSSL_BIO* bio, WOLFSSL_X509* x509, int indent)
|
||||
ret = WOLFSSL_FAILURE;
|
||||
break;
|
||||
}
|
||||
ret = wolfSSL_BIO_write(bio, scratch, scratchLen);
|
||||
|
||||
if (wolfSSL_BIO_write(bio, scratch, scratchLen) <= 0) {
|
||||
ret = WOLFSSL_FAILURE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user