Backport X509 hostname, IP address and email checking code from HEAD.
[openssl.git] / apps / dgst.c
index b08e9a7c786f3059ff5fee8d9b123fcc4a340ebc..81bd870f991a5f2c2622140a6a125c98bc0d7385 100644 (file)
@@ -216,10 +216,10 @@ int MAIN(int argc, char **argv)
                        out_bin = 1;
                else if (strcmp(*argv,"-d") == 0)
                        debug=1;
-               else if (strcmp(*argv,"-non-fips-allow") == 0)
-                       non_fips_allow=1;
                else if (!strcmp(*argv,"-fips-fingerprint"))
                        hmac_key = "etaonrishdlcupfm";
+               else if (strcmp(*argv,"-non-fips-allow") == 0)
+                       non_fips_allow=1;
                else if (!strcmp(*argv,"-hmac"))
                        {
                        if (--argc < 1)