rev149: Change #if ALG_SM3 to #if ALG_SM3_256

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
Stefan Berger 2018-08-27 13:26:40 -04:00 committed by Stefan Berger
parent ec7f2c6d39
commit 10aa33d97e

View File

@ -79,7 +79,7 @@
#define tpmHashStateSHA256_t SHA256_CTX
#define tpmHashStateSHA384_t SHA512_CTX
#define tpmHashStateSHA512_t SHA512_CTX
#if ALG_SM3
#if ALG_SM3_256
# error "The version of OpenSSL used by this code does not support SM3"
#endif
/* The defines below are only needed when compiling CryptHash.c or CryptSmac.c. This isolation