summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiegec <noc@jiegec.ac.cn>2021-03-09 09:40:42 +0800
committerjiegec <noc@jiegec.ac.cn>2021-03-09 09:40:42 +0800
commitfb5f94e0346135540dab354311f31561d84a5dee (patch)
treeae3b8a36ac7f52c7414cd9fd72af9f5a047d903b
parent6bb010f4761a303639b40d8586c7608cbe1275db (diff)
downloadrust-openssl-fb5f94e0346135540dab354311f31561d84a5dee.zip
Pass OPENSSL_NO_SM3 definition to rust properly
-rw-r--r--openssl-sys/build/expando.c4
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