File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57494,8 +57494,8 @@ static int test_GENERAL_NAME_set0_othername(void) {
5749457494 ExpectIntGT(X509_sign(x509, priv, EVP_sha256()), 0);
5749557495 sk_GENERAL_NAME_pop_free(gns, GENERAL_NAME_free);
5749657496 gns = NULL;
57497- ExpectNotNull(gns = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL ,
57498- NULL));
57497+ ExpectNotNull(gns = (GENERAL_NAMES*) X509_get_ext_d2i(x509,
57498+ NID_subject_alt_name, NULL, NULL));
5749957499
5750057500 ExpectIntEQ(sk_GENERAL_NAME_num(gns), 3);
5750157501
@@ -57658,8 +57658,8 @@ static int test_othername_and_SID_ext(void) {
5765857658 0);
5765957659
5766057660 /* Cleanup */
57661- ExpectNotNull(gns = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL ,
57662- NULL));
57661+ ExpectNotNull(gns = (GENERAL_NAMES*) X509_get_ext_d2i(x509,
57662+ NID_subject_alt_name, NULL, NULL));
5766357663 ExpectIntEQ(sk_GENERAL_NAME_num(gns), 1);
5766457664 ExpectNotNull(gn = sk_GENERAL_NAME_value(gns, 0));
5766557665 ExpectIntEQ(gn->type, 0);
Original file line number Diff line number Diff line change @@ -1977,7 +1977,9 @@ static int numBlocks = NUM_BLOCKS;
19771977static word32 bench_size = BENCH_SIZE;
19781978static int base2 = 1;
19791979static int digest_stream = 1;
1980+ #ifdef HAVE_CHACHA
19801981static int encrypt_only = 0;
1982+ #endif
19811983#ifdef HAVE_AES_CBC
19821984static int cipher_same_buffer = 0;
19831985#endif
@@ -14725,8 +14727,10 @@ int wolfcrypt_benchmark_main(int argc, char** argv)
1472514727#endif
1472614728 else if (string_matches(argv[1], "-dgst_full"))
1472714729 digest_stream = 0;
14730+ #ifdef HAVE_CHACHA
1472814731 else if (string_matches(argv[1], "-enc_only"))
1472914732 encrypt_only = 1;
14733+ #endif
1473014734#ifndef NO_RSA
1473114735 else if (string_matches(argv[1], "-rsa_sign"))
1473214736 rsa_sign_verify = 1;
Original file line number Diff line number Diff line change @@ -2940,7 +2940,7 @@ extern void uITRON4_free(void *p) ;
29402940 #undef WOLFSSL_CERT_NAME_ALL
29412941 #define WOLFSSL_CERT_NAME_ALL
29422942
2943- /* Store pointers to issuer name components and their lengths and encodings. */
2943+ /* Store pointers to issuer name components ( lengths and encodings) */
29442944 #undef WOLFSSL_HAVE_ISSUER_NAMES
29452945 #define WOLFSSL_HAVE_ISSUER_NAMES
29462946
@@ -3030,7 +3030,8 @@ extern void uITRON4_free(void *p) ;
30303030#else
30313031 /* if user supplied build option and not using ASN template, raise error */
30323032 #if defined(WC_ASN_UNKNOWN_EXT_CB ) && !defined(WOLFSSL_ASN_TEMPLATE )
3033- #error ASN unknown extension callback is only supported with ASN template
3033+ #error ASN unknown extension callback is only supported \
3034+ with ASN template
30343035 #endif
30353036#endif
30363037
You can’t perform that action at this time.
0 commit comments