mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Fix build error with unused variables. Added compat function for X509_add_ext
.
This commit is contained in:
@ -20088,12 +20088,8 @@ int wolfSSL_X509_cmp(const WOLFSSL_X509 *a, const WOLFSSL_X509 *b)
|
|||||||
{
|
{
|
||||||
const byte* derA;
|
const byte* derA;
|
||||||
const byte* derB;
|
const byte* derB;
|
||||||
int retHashA;
|
|
||||||
int retHashB;
|
|
||||||
int outSzA = 0;
|
int outSzA = 0;
|
||||||
int outSzB = 0;
|
int outSzB = 0;
|
||||||
byte digestA[WC_MAX_DIGEST_SIZE];
|
|
||||||
byte digestB[WC_MAX_DIGEST_SIZE];
|
|
||||||
|
|
||||||
if (a == NULL || b == NULL){
|
if (a == NULL || b == NULL){
|
||||||
return BAD_FUNC_ARG;
|
return BAD_FUNC_ARG;
|
||||||
|
@ -417,6 +417,7 @@ typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
|
|||||||
#define X509_email_free wolfSSL_X509_email_free
|
#define X509_email_free wolfSSL_X509_email_free
|
||||||
#define X509_check_issued wolfSSL_X509_check_issued
|
#define X509_check_issued wolfSSL_X509_check_issued
|
||||||
#define X509_dup wolfSSL_X509_dup
|
#define X509_dup wolfSSL_X509_dup
|
||||||
|
#define X509_add_ext wolfSSL_X509_add_ext
|
||||||
|
|
||||||
#define X509_EXTENSION_get_object wolfSSL_X509_EXTENSION_get_object
|
#define X509_EXTENSION_get_object wolfSSL_X509_EXTENSION_get_object
|
||||||
#define X509_EXTENSION_get_data wolfSSL_X509_EXTENSION_get_data
|
#define X509_EXTENSION_get_data wolfSSL_X509_EXTENSION_get_data
|
||||||
|
Reference in New Issue
Block a user