Fixes for issues copilot found.

This commit is contained in:
David Garske
2025-08-05 07:22:04 -07:00
parent b40e3d479f
commit 1693f72af7
12 changed files with 12 additions and 12 deletions

View File

@@ -36,7 +36,7 @@
#include <tests/api/test_ossl_asn1.h> #include <tests/api/test_ossl_asn1.h>
/******************************************************************************* /*******************************************************************************
* ASN.1 OpenSSL compatibiltity API Testing * ASN.1 OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_wolfSSL_ASN1_BIT_STRING(void) int test_wolfSSL_ASN1_BIT_STRING(void)

View File

@@ -35,7 +35,7 @@
#include <tests/api/test_ossl_bio.h> #include <tests/api/test_ossl_bio.h>
/******************************************************************************* /*******************************************************************************
* BIO OpenSSL compatibiltity API Testing * BIO OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
#ifndef NO_BIO #ifndef NO_BIO

View File

@@ -34,7 +34,7 @@
#include <tests/api/test_ossl_bn.h> #include <tests/api/test_ossl_bn.h>
/******************************************************************************* /*******************************************************************************
* BN OpenSSL compatibiltity API Testing * BN OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_wolfSSL_BN_CTX(void) int test_wolfSSL_BN_CTX(void)

View File

@@ -37,7 +37,7 @@
#include <tests/api/test_ossl_cipher.h> #include <tests/api/test_ossl_cipher.h>
/******************************************************************************* /*******************************************************************************
* Cipher OpenSSL compatibiltity API Testing * Cipher OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_wolfSSL_DES(void) int test_wolfSSL_DES(void)

View File

@@ -37,7 +37,7 @@
#include <tests/api/test_ossl_dgst.h> #include <tests/api/test_ossl_dgst.h>
/******************************************************************************* /*******************************************************************************
* Digest OpenSSL compatibiltity API Testing * Digest OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_wolfSSL_MD4(void) int test_wolfSSL_MD4(void)

View File

@@ -35,7 +35,7 @@
#include <tests/api/test_ossl_dh.h> #include <tests/api/test_ossl_dh.h>
/******************************************************************************* /*******************************************************************************
* DH OpenSSL compatibiltity API Testing * DH OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_wolfSSL_DH(void) int test_wolfSSL_DH(void)

View File

@@ -35,7 +35,7 @@
#include <tests/api/test_ossl_dsa.h> #include <tests/api/test_ossl_dsa.h>
/******************************************************************************* /*******************************************************************************
* DSA OpenSSL compatibiltity API Testing * DSA OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_DSA_do_sign_verify(void) int test_DSA_do_sign_verify(void)

View File

@@ -36,7 +36,7 @@
#include <tests/api/test_ossl_ec.h> #include <tests/api/test_ossl_ec.h>
/******************************************************************************* /*******************************************************************************
* EC OpenSSL compatibiltity API Testing * EC OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
#if defined(HAVE_ECC) && !defined(OPENSSL_NO_PK) #if defined(HAVE_ECC) && !defined(OPENSSL_NO_PK)

View File

@@ -40,7 +40,7 @@
#include <tests/api/test_ossl_ecx.h> #include <tests/api/test_ossl_ecx.h>
/******************************************************************************* /*******************************************************************************
* ECX OpenSSL compatibiltity API Testing * ECX OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
#ifdef OPENSSL_EXTRA #ifdef OPENSSL_EXTRA

View File

@@ -35,7 +35,7 @@
#include <tests/api/test_ossl_mac.h> #include <tests/api/test_ossl_mac.h>
/******************************************************************************* /*******************************************************************************
* MAC OpenSSL compatibiltity API Testing * MAC OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
#if defined(OPENSSL_EXTRA) && !defined(NO_HMAC) #if defined(OPENSSL_EXTRA) && !defined(NO_HMAC)

View File

@@ -36,7 +36,7 @@
#include <tests/api/test_ossl_rsa.h> #include <tests/api/test_ossl_rsa.h>
/******************************************************************************* /*******************************************************************************
* RSA OpenSSL compatibiltity API Testing * RSA OpenSSL compatibility API Testing
******************************************************************************/ ******************************************************************************/
int test_wolfSSL_RSA(void) int test_wolfSSL_RSA(void)

View File

@@ -135,7 +135,7 @@ static int test_wc_PKCS12_create_once(int keyEncType, int certEncType)
&outCert, &outCertSz, &outCaList), 0); &outCert, &outCertSz, &outCaList), 0);
ExpectIntEQ(outKeySz, inKeySz); ExpectIntEQ(outKeySz, inKeySz);
ExpectIntEQ(outCertSz, outCertSz); ExpectIntEQ(outCertSz, inCertSz);
ExpectNotNull(outCaList); ExpectNotNull(outCaList);
ExpectNotNull(outCaList->buffer); ExpectNotNull(outCaList->buffer);
ExpectIntEQ(outCaList->bufferSz, inCa.bufferSz); ExpectIntEQ(outCaList->bufferSz, inCa.bufferSz);