mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 11:44:38 +02:00
fix jenkins failure
This commit is contained in:
@@ -20555,7 +20555,7 @@ const char* GetCipherSegment(const WOLFSSL_CIPHER* cipher, char n[][MAX_SEGMENT_
|
|||||||
offset = cipher->offset;
|
offset = cipher->offset;
|
||||||
|
|
||||||
if (offset >= (unsigned long)GetCipherNamesSize())
|
if (offset >= (unsigned long)GetCipherNamesSize())
|
||||||
return WOLFSSL_FAILURE;
|
return NULL;
|
||||||
|
|
||||||
name = cipher_names[offset].name;
|
name = cipher_names[offset].name;
|
||||||
|
|
||||||
|
@@ -46725,8 +46725,8 @@ static void test_SSL_CIPHER_get_xxx()
|
|||||||
const SSL_CIPHER* cipher = NULL;
|
const SSL_CIPHER* cipher = NULL;
|
||||||
STACK_OF(SSL_CIPHER) *supportedCiphers = NULL;
|
STACK_OF(SSL_CIPHER) *supportedCiphers = NULL;
|
||||||
int i, numCiphers = 0;
|
int i, numCiphers = 0;
|
||||||
SSL_CTX* ctx;
|
SSL_CTX* ctx = NULL;
|
||||||
SSL* ssl;
|
SSL* ssl = NULL;
|
||||||
const char* testCertFile;
|
const char* testCertFile;
|
||||||
const char* testKeyFile;
|
const char* testKeyFile;
|
||||||
char buf[256] = {0};
|
char buf[256] = {0};
|
||||||
@@ -46845,7 +46845,9 @@ static void test_SSL_CIPHER_get_xxx()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctx)
|
||||||
SSL_CTX_free(ctx);
|
SSL_CTX_free(ctx);
|
||||||
|
if(ssl)
|
||||||
SSL_free(ssl);
|
SSL_free(ssl);
|
||||||
|
|
||||||
printf(resultFmt, passed);
|
printf(resultFmt, passed);
|
||||||
|
Reference in New Issue
Block a user