summaryrefslogtreecommitdiffstats
path: root/apps/spkac.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-01-07 23:44:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-01-07 23:44:27 +0000
commitbab534057b855a7dbf98261d494897b3542bd9d5 (patch)
tree8f339a962fce59f79aca9d68eee75304b885d551 /apps/spkac.c
parentcec2af75102df52c2f270b3751e3487f47fccb6c (diff)
Updatde from stable branch.
Diffstat (limited to 'apps/spkac.c')
-rw-r--r--apps/spkac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/spkac.c b/apps/spkac.c
index ae2d88694f..0e01ea9947 100644
--- a/apps/spkac.c
+++ b/apps/spkac.c
@@ -285,7 +285,7 @@ bad:
pkey = NETSCAPE_SPKI_get_pubkey(spki);
if(verify) {
i = NETSCAPE_SPKI_verify(spki, pkey);
- if(i) BIO_printf(bio_err, "Signature OK\n");
+ if (i > 0) BIO_printf(bio_err, "Signature OK\n");
else {
BIO_printf(bio_err, "Signature Failure\n");
ERR_print_errors(bio_err);