diff options
author | jiegec <noc@jiegec.ac.cn> | 2021-03-09 09:40:42 +0800 |
---|---|---|
committer | jiegec <noc@jiegec.ac.cn> | 2021-03-09 09:40:42 +0800 |
commit | fb5f94e0346135540dab354311f31561d84a5dee (patch) | |
tree | ae3b8a36ac7f52c7414cd9fd72af9f5a047d903b | |
parent | 6bb010f4761a303639b40d8586c7608cbe1275db (diff) | |
download | rust-openssl-fb5f94e0346135540dab354311f31561d84a5dee.zip |
Pass OPENSSL_NO_SM3 definition to rust properly
-rw-r--r-- | openssl-sys/build/expando.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl-sys/build/expando.c b/openssl-sys/build/expando.c index 2f8b1b4d..dd3dace0 100644 --- a/openssl-sys/build/expando.c +++ b/openssl-sys/build/expando.c @@ -81,3 +81,7 @@ RUST_CONF_OPENSSL_NO_TLSEXT #ifdef OPENSSL_NO_STDIO RUST_CONF_OPENSSL_NO_STDIO #endif + +#ifdef OPENSSL_NO_SM3 +RUST_CONF_OPENSSL_NO_SM3 +#endif |