summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/c_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/evp/c_all.c')
-rw-r--r--lib/libcrypto/evp/c_all.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/evp/c_all.c b/lib/libcrypto/evp/c_all.c
index 87657eded3a..85322d90e86 100644
--- a/lib/libcrypto/evp/c_all.c
+++ b/lib/libcrypto/evp/c_all.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: c_all.c,v 1.22 2018/03/17 16:20:01 beck Exp $ */
+/* $OpenBSD: c_all.c,v 1.23 2018/11/11 07:07:44 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -286,6 +286,9 @@ OpenSSL_add_all_digests_internal(void)
EVP_add_digest(EVP_sha384());
EVP_add_digest(EVP_sha512());
#endif
+#ifndef OPENSSL_NO_SM3
+ EVP_add_digest(EVP_sm3());
+#endif
#ifndef OPENSSL_NO_WHIRLPOOL
EVP_add_digest(EVP_whirlpool());
#endif