Disabled list doesn't contain SM3 and SM4.
authorPauli <paul.dale@oracle.com>
Mon, 6 Nov 2017 01:30:00 +0000 (11:30 +1000)
committerPauli <paul.dale@oracle.com>
Mon, 6 Nov 2017 01:30:00 +0000 (11:30 +1000)
The Chinese cryptographic operations should appear in the disabled list if they
are disabled.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4678)

apps/openssl.c

index 2edd70086f634fb27219433820ea1b79421a7868..fd89629bbe99ec24fc20f72327b115e17d801ae3 100644 (file)
@@ -750,6 +750,12 @@ static void list_disabled(void)
 #ifdef OPENSSL_NO_SEED
     BIO_puts(bio_out, "SEED\n");
 #endif
+#ifdef OPENSSL_NO_SM3
+    BIO_puts(bio_out, "SM3\n");
+#endif
+#ifdef OPENSSL_NO_SM4
+    BIO_puts(bio_out, "SM4\n");
+#endif
 #ifdef OPENSSL_NO_SOCK
     BIO_puts(bio_out, "SOCK\n");
 #endif