mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Seperate QT and DSA dependencies
This commit is contained in:
@@ -880,7 +880,7 @@ int GetInt(mp_int* mpi, const byte* input, word32* inOutIdx, word32 maxIdx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if (!defined(WOLFSSL_KEY_GEN) && !defined(OPENSSL_EXTRA) && defined(RSA_LOW_MEM)) \
|
#if (!defined(WOLFSSL_KEY_GEN) && !defined(OPENSSL_EXTRA) && defined(RSA_LOW_MEM)) \
|
||||||
|| defined(WOLFSSL_RSA_PUBLIC_ONLY) || (!defined(NO_DSA) && defined(WOLFSSL_QT))
|
|| defined(WOLFSSL_RSA_PUBLIC_ONLY) || (!defined(NO_DSA))
|
||||||
#if !defined(NO_RSA) && !defined(HAVE_USER_RSA)
|
#if !defined(NO_RSA) && !defined(HAVE_USER_RSA)
|
||||||
static int SkipInt(const byte* input, word32* inOutIdx, word32 maxIdx)
|
static int SkipInt(const byte* input, word32* inOutIdx, word32 maxIdx)
|
||||||
{
|
{
|
||||||
@@ -5103,7 +5103,7 @@ static int StoreRsaKey(DecodedCert* cert, word32 bitStringEnd)
|
|||||||
static int GetKey(DecodedCert* cert)
|
static int GetKey(DecodedCert* cert)
|
||||||
{
|
{
|
||||||
int length;
|
int length;
|
||||||
#if !defined(NO_DSA) && defined(WOLFSSL_QT)
|
#ifndef NO_DSA
|
||||||
int tmpLen;
|
int tmpLen;
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_ECC) || defined(HAVE_NTRU)
|
#if defined(HAVE_ECC) || defined(HAVE_NTRU)
|
||||||
@@ -5113,7 +5113,7 @@ static int GetKey(DecodedCert* cert)
|
|||||||
if (GetSequence(cert->source, &cert->srcIdx, &length, cert->maxIdx) < 0)
|
if (GetSequence(cert->source, &cert->srcIdx, &length, cert->maxIdx) < 0)
|
||||||
return ASN_PARSE_E;
|
return ASN_PARSE_E;
|
||||||
|
|
||||||
#if !defined(NO_DSA) && defined(WOLFSSL_QT)
|
#ifndef NO_DSA
|
||||||
tmpLen = length + 4;
|
tmpLen = length + 4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -5326,7 +5326,7 @@ static int GetKey(DecodedCert* cert)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_ED448 */
|
#endif /* HAVE_ED448 */
|
||||||
#if !defined(NO_DSA) && defined(WOLFSSL_QT)
|
#ifndef NO_DSA
|
||||||
case DSAk:
|
case DSAk:
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
Reference in New Issue
Block a user