Skip to content

Commit

Permalink
Fixed the check for SM4 availability in OpenSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Marochko committed Mar 17, 2020
1 parent 8b08d04 commit 51d7b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TPMCmd/tpm/include/Ossl/TpmToOsslSym.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#endif

#if ALG_SM4
# if defined(OPENSSL_NO_SM3) || OPENSSL_VERSION_NUMBER < 0x10101010L
# if defined(OPENSSL_NO_SM4) || OPENSSL_VERSION_NUMBER < 0x10101010L
# undef ALG_SM4
# define ALG_SM4 ALG_NO
# elif OPENSSL_VERSION_NUMBER >= 0x10200000L
Expand Down

0 comments on commit 51d7b24

Please sign in to comment.