Sort the disabled features alphabetically
authorRichard Levitte <levitte@openssl.org>
Sat, 19 Sep 2015 22:25:14 +0000 (00:25 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Sep 2015 23:57:57 +0000 (01:57 +0200)
Reviewed-by: Stephen Henson <steve@openssl.org>
apps/openssl.c

index e96c211d041509b44bfb754f13c4082d20917fa9..b525515ce4273b39d030e6b990816a78c515d4c5 100644 (file)
@@ -722,31 +722,31 @@ static int SortFnByName(const void *_f1, const void *_f2)
 
 static void list_disabled(void)
 {
-BIO_puts(bio_out, "Disabled algorithms:\n");
+    BIO_puts(bio_out, "Disabled algorithms:\n");
 #ifdef OPENSSL_NO_DH
     BIO_puts(bio_out, "DH\n");
 #endif
 #ifdef OPENSSL_NO_DSA
     BIO_puts(bio_out, "DSA\n");
 #endif
-#ifdef OPENSSL_NO_RSA
-    BIO_puts(bio_out, "RSA\n");
-#endif
 #ifdef OPENSSL_NO_EC
     BIO_puts(bio_out, "EC\n");
 #endif
 #ifdef OPENSSL_NO_EC2M
     BIO_puts(bio_out, "EC2M\n");
 #endif
-#ifndef ZLIB
-    BIO_puts(bio_out, "ZLIB\n");
-#endif
 #ifdef OPENSSL_NO_PSK
     BIO_puts(bio_out, "PSK\n");
 #endif
+#ifdef OPENSSL_NO_RSA
+    BIO_puts(bio_out, "RSA\n");
+#endif
 #ifdef OPENSSL_NO_SRP
     BIO_puts(bio_out, "SRP\n");
 #endif
+#ifndef ZLIB
+    BIO_puts(bio_out, "ZLIB\n");
+#endif
 }
 
 static LHASH_OF(FUNCTION) *prog_init(void)