Skip to content

Commit

Permalink
Code cleanup per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ColtonWilley committed May 15, 2024
1 parent de0a492 commit b156a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -41245,9 +41245,9 @@ static int test_wolfSSL_X509_bad_altname(void)
};

X509* x509 = NULL;
int certSize = sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
int certSize = (int)sizeof(malformed_alt_name_cert) / sizeof(unsigned char);
const char *name = "aaaaa";
int nameLen = (int)strlen(name);
int nameLen = (int)XSTRLEN(name);

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

0 comments on commit b156a51

Please sign in to comment.