Fix for building with FIPS where wolfCrypt FIPS already has enum value for MAX_DIGEST_SIZE.

This commit is contained in:
David Garske
2018-01-11 10:53:12 -08:00
parent 481f4765eb
commit cf03aa4f52

View File

@@ -45,7 +45,7 @@
extern "C" {
#endif
#ifndef NO_OLD_WC_NAMES
#if !defined(HAVE_FIPS) && !defined(NO_OLD_WC_NAMES)
#define MAX_DIGEST_SIZE WC_MAX_DIGEST_SIZE
#endif