Fix build failure on Windows due to undefined cflags identifier
[oweals/openssl.git] / apps / spkac.c
index 0191d0a783f7db816318bf53204460dce3efa5b6..149db1784b3cae42619c15eb56c1d3a156b31a7a 100644 (file)
@@ -1,6 +1,6 @@
 /* apps/spkac.c */
 
-/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
+/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project 1999. Based on an original idea by Massimiliano Pala
  * (madwolf@openca.org).
  */
@@ -73,7 +73,8 @@
 #undef PROG
 #define PROG   spkac_main
 
-/* -in arg     - input file - default stdin
+/*-
+ * -in arg     - input file - default stdin
  * -out arg    - output file - default stdout
  */
 
@@ -285,7 +286,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);