From da127dfb17282ebc8d04caa3b44a62b862abbf5e Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 24 Nov 2015 13:18:39 -0700 Subject: [PATCH] warrning for unused function in user-crypto / fast-rsa mode --- wolfcrypt/src/asn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 107524198..5c9179283 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -1159,6 +1159,7 @@ WOLFSSL_LOCAL int GetObjectId(const byte* input, word32* inOutIdx, word32* oid, } +#ifndef HAVE_USER_RSA static int SkipObjectId(const byte* input, word32* inOutIdx, word32 maxIdx) { int length; @@ -1173,7 +1174,7 @@ static int SkipObjectId(const byte* input, word32* inOutIdx, word32 maxIdx) return 0; } - +#endif WOLFSSL_LOCAL int GetAlgoId(const byte* input, word32* inOutIdx, word32* oid, word32 oidType, word32 maxIdx)