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 2edd700..fd89629 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