diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/openssl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index 255e34ec33..92ecb1db3b 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: openssl.c,v 1.27 2018/11/11 06:41:28 bcook Exp $ */ | 1 | /* $OpenBSD: openssl.c,v 1.28 2018/11/11 07:10:57 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -241,6 +241,10 @@ FUNCTION functions[] = { | |||
| 241 | #ifndef OPENSSL_NO_SHA512 | 241 | #ifndef OPENSSL_NO_SHA512 |
| 242 | { FUNC_TYPE_MD, "sha512", dgst_main }, | 242 | { FUNC_TYPE_MD, "sha512", dgst_main }, |
| 243 | #endif | 243 | #endif |
| 244 | #ifndef OPENSSL_NO_SM3 | ||
| 245 | { FUNC_TYPE_MD, "sm3", dgst_main }, | ||
| 246 | { FUNC_TYPE_MD, "sm3WithRSAEncryption", dgst_main }, | ||
| 247 | #endif | ||
| 244 | #ifndef OPENSSL_NO_WHIRLPOOL | 248 | #ifndef OPENSSL_NO_WHIRLPOOL |
| 245 | { FUNC_TYPE_MD, "whirlpool", dgst_main }, | 249 | { FUNC_TYPE_MD, "whirlpool", dgst_main }, |
| 246 | #endif | 250 | #endif |
