We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de0a492 commit b156a51Copy full SHA for b156a51
1 file changed
tests/api.c
@@ -41245,9 +41245,9 @@ static int test_wolfSSL_X509_bad_altname(void)
41245
};
41246
41247
X509* x509 = NULL;
41248
- int certSize = sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
+ int certSize = (int)sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
41249
const char *name = "aaaaa";
41250
- int nameLen = (int)strlen(name);
+ int nameLen = (int)XSTRLEN(name);
41251
41252
ExpectNotNull(x509 = wolfSSL_X509_load_certificate_buffer(
41253
malformed_alt_name_cert, certSize, SSL_FILETYPE_ASN1));
0 commit comments