Skip to content

Commit

Permalink
Clean up cast warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ColtonWilley committed May 15, 2024
1 parent eb24bce commit 958b5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -41247,7 +41247,7 @@ static int test_wolfSSL_X509_bad_altname(void)
X509* x509 = NULL;
int certSize = sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
const char *name = "aaaaa";
int nameLen = strlen(name);
int nameLen = (int)strlen(name);

ExpectNotNull(x509 = wolfSSL_X509_load_certificate_buffer(
malformed_alt_name_cert, certSize, SSL_FILETYPE_ASN1));
Expand Down

0 comments on commit 958b5ac

Please sign in to comment.