Skip to content

Commit b156a51

Browse files
committed
Code cleanup per review comments
1 parent de0a492 commit b156a51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41245,9 +41245,9 @@ static int test_wolfSSL_X509_bad_altname(void)
4124541245
};
4124641246

4124741247
X509* x509 = NULL;
41248-
int certSize = sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
41248+
int certSize = (int)sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
4124941249
const char *name = "aaaaa";
41250-
int nameLen = (int)strlen(name);
41250+
int nameLen = (int)XSTRLEN(name);
4125141251

4125241252
ExpectNotNull(x509 = wolfSSL_X509_load_certificate_buffer(
4125341253
malformed_alt_name_cert, certSize, SSL_FILETYPE_ASN1));

0 commit comments

Comments
 (0)