don't print verbose policy check messages when -quiet is selected even on error
[openssl.git] / apps / verify.c
index 00242fb5ebe21e079cf09e98dbabdccac5d4f604..8f897cf48563ff74fc4874d1db3266d55001ef08 100644 (file)
@@ -241,8 +241,8 @@ end:
                        X509_PURPOSE *ptmp;
                        ptmp = X509_PURPOSE_get0(i);
                        BIO_printf(bio_err, "\t%-10s\t%s\n",
-                                       X509_PURPOSE_get0_sname(ptmp),
-                                       X509_PURPOSE_get0_name(ptmp));
+                                  X509_PURPOSE_get0_sname(ptmp),
+                                  X509_PURPOSE_get0_name(ptmp));
                        }
 
                BIO_printf(bio_err,"recognized verify names:\n");
@@ -350,9 +350,6 @@ static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx)
                        case X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION:
                        ok = 1;
 
-                       case X509_V_ERR_KEYUSAGE_NO_CERTSIGN:
-                       ok = 1;
-
                        }
 
                return ok;