Fix dependency issues

This commit is contained in:
Andras Fekete
2023-03-31 13:21:13 -04:00
parent 7138b66b5e
commit c8e1731cb7

View File

@ -150,9 +150,6 @@
int wolfssl_bn_get_value(WOLFSSL_BIGNUM* bn, mp_int* mpi); int wolfssl_bn_get_value(WOLFSSL_BIGNUM* bn, mp_int* mpi);
int wolfssl_bn_set_value(WOLFSSL_BIGNUM** bn, mp_int* mpi); int wolfssl_bn_set_value(WOLFSSL_BIGNUM** bn, mp_int* mpi);
#endif #endif
#if defined(OPENSSL_EXTRA) && !defined(NO_ASN)
static int wolfssl_bn_set_neg(WOLFSSL_BIGNUM* bn, int n);
#endif
#if defined(WOLFSSL_QT) #if defined(WOLFSSL_QT)
#include <wolfssl/wolfcrypt/sha.h> #include <wolfssl/wolfcrypt/sha.h>
@ -211,11 +208,6 @@
#define WOLFSSL_EVP_INCLUDED #define WOLFSSL_EVP_INCLUDED
#include "wolfcrypt/src/evp.c" #include "wolfcrypt/src/evp.c"
#ifndef OPENSSL_EXTRA_NO_ASN1
#define WOLFSSL_SSL_ASN1_INCLUDED
#include "src/ssl_asn1.c"
#endif /* OPENSSL_EXTRA_NO_ASN1 */
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) && \ #if (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) && \
!defined(WOLFCRYPT_ONLY) !defined(WOLFCRYPT_ONLY)
/* Convert shortname to NID. /* Convert shortname to NID.
@ -416,6 +408,11 @@ WC_RNG* wolfssl_make_rng(WC_RNG* rng, int* local)
#define WOLFSSL_SSL_BN_INCLUDED #define WOLFSSL_SSL_BN_INCLUDED
#include "src/ssl_bn.c" #include "src/ssl_bn.c"
#ifndef OPENSSL_EXTRA_NO_ASN1
#define WOLFSSL_SSL_ASN1_INCLUDED
#include "src/ssl_asn1.c"
#endif /* OPENSSL_EXTRA_NO_ASN1 */
#define WOLFSSL_PK_INCLUDED #define WOLFSSL_PK_INCLUDED
#include "src/pk.c" #include "src/pk.c"