mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
adjust test case
This commit is contained in:
@ -24159,7 +24159,9 @@ static void test_wolfSSL_X509_sign(void)
|
||||
|
||||
/* test invalid version number */
|
||||
#if defined(OPENSSL_ALL)
|
||||
#ifdef WOLFSSL_ALT_NAMES
|
||||
AssertIntEQ(X509_get_ext_count(x509), 1);
|
||||
#endif
|
||||
AssertIntNE(X509_set_version(x509, 6L), 0);
|
||||
AssertIntGT(X509_sign(x509, priv, EVP_sha256()), 0);
|
||||
|
||||
|
Reference in New Issue
Block a user