### Changes between 3.2 and 3.3 [xx XXX xxxx]
+ * The `-verify` option to the `openssl crl` and `openssl req` will make
+ the program exit with 1 on failure.
+
+ *VladimĂr Kotal*
+
* The BIO_get_new_index() function can only be called 127 times before it
reaches its upper bound of BIO_TYPE_MASK. It will now correctly return an
error of -1 once it is exhausted. Users may need to reserve using this
EVP_PKEY_free(pkey);
if (i < 0)
goto end;
- if (i == 0)
+ if (i == 0) {
BIO_printf(bio_err, "verify failure\n");
- else
+ goto end;
+ } else
BIO_printf(bio_err, "verify OK\n");
}
if (i < 0)
goto end;
- if (i == 0)
+ if (i == 0) {
BIO_printf(bio_err, "Certificate request self-signature verify failure\n");
- else /* i > 0 */
+ goto end;
+ } else /* i > 0 */
BIO_printf(bio_out, "Certificate request self-signature verify OK\n");
}
=item B<-verify>
-Verify the signature in the CRL.
+Verify the signature in the CRL. If the verification fails,
+the program will immediately exit, i.e. further option processing
+(e.g. B<-gendelta>) is skipped.
=item B<-noout>
=item B<-verify>
-Verifies the self-signature on the request.
+Verifies the self-signature on the request. If the verification fails,
+the program will immediately exit, i.e. further option processing
+(e.g. B<-text>) is skipped.
=item B<-new>