forked from wolfSSL/wolfssl
Merge pull request #2558 from danielinux/pwbased-no-asn
Allow pwdbased module to compile without ASN
This commit is contained in:
@ -41,7 +41,6 @@
|
|||||||
#include <wolfcrypt/src/misc.c>
|
#include <wolfcrypt/src/misc.c>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(NO_ASN) || !defined(NO_DH) || defined(HAVE_ECC)
|
|
||||||
|
|
||||||
#ifdef NO_ASN
|
#ifdef NO_ASN
|
||||||
enum Hash_Sum {
|
enum Hash_Sum {
|
||||||
@ -128,6 +127,7 @@ enum wc_HashType wc_HashTypeConvert(int hashType)
|
|||||||
return eHashType;
|
return eHashType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(NO_ASN) || !defined(NO_DH) || defined(HAVE_ECC)
|
||||||
|
|
||||||
int wc_HashGetOID(enum wc_HashType hash_type)
|
int wc_HashGetOID(enum wc_HashType hash_type)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user