mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Fix for misc HashObject
to be excluded for WOLFCRYPT_ONLY
.
This commit is contained in:
@ -834,7 +834,7 @@ WC_STATIC WC_INLINE word32 MakeWordFromHash(const byte* hashID)
|
|||||||
#endif /* HAVE_SESSION_TICKET || !NO_CERTS || !NO_SESSION_CACHE */
|
#endif /* HAVE_SESSION_TICKET || !NO_CERTS || !NO_SESSION_CACHE */
|
||||||
|
|
||||||
|
|
||||||
#if !defined(NO_SESSION_CACHE) || defined(HAVE_SESSION_TICKET)
|
#if !defined(WOLFCRYPT_ONLY) && (!defined(NO_SESSION_CACHE) || defined(HAVE_SESSION_TICKET))
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/hash.h>
|
#include <wolfssl/wolfcrypt/hash.h>
|
||||||
|
|
||||||
@ -855,7 +855,7 @@ WC_STATIC WC_INLINE word32 HashObject(const byte* o, word32 len, int* error)
|
|||||||
|
|
||||||
return *error == 0 ? MakeWordFromHash(digest) : 0; /* 0 on failure */
|
return *error == 0 ? MakeWordFromHash(digest) : 0; /* 0 on failure */
|
||||||
}
|
}
|
||||||
#endif /* !NO_SESSION_CACHE || HAVE_SESSION_TICKET */
|
#endif /* WOLFCRYPT_ONLY && (!NO_SESSION_CACHE || HAVE_SESSION_TICKET) */
|
||||||
|
|
||||||
#undef WC_STATIC
|
#undef WC_STATIC
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user