mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-13 17:44:48 +02:00
Fixes for issues copilot found.
This commit is contained in:
@@ -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)
|
||||||
|
@@ -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
|
||||||
|
@@ -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)
|
||||||
|
@@ -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)
|
||||||
|
@@ -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)
|
||||||
|
@@ -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)
|
||||||
|
@@ -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)
|
||||||
|
@@ -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)
|
||||||
|
@@ -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
|
||||||
|
@@ -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)
|
||||||
|
@@ -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)
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user