From bbb720034aa6422a7be4637e841db8588f4d0305 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 5 Sep 2000 22:30:38 +0000 Subject: Fix typo in rsautl. Add support for settable verify time in X509_verify_cert(). Document rsautl utility. --- apps/rsautl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/rsautl.c') diff --git a/apps/rsautl.c b/apps/rsautl.c index 3a58b45800..f8f68d9422 100644 --- a/apps/rsautl.c +++ b/apps/rsautl.c @@ -141,7 +141,7 @@ int MAIN(int argc, char **argv) argv++; } - if(need_priv && (key_type == KEY_PRIVKEY)) { + if(need_priv && (key_type != KEY_PRIVKEY)) { BIO_printf(bio_err, "A private key is needed for this operation\n"); goto end; } -- cgit v1.2.3