]> granicus.if.org Git - openssl/commitdiff
Fix typo in help & comment formatting
authorRich Salz <rsalz@openssl.org>
Mon, 27 Apr 2015 01:23:43 +0000 (21:23 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 27 Apr 2015 01:23:43 +0000 (21:23 -0400)
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/rsa.c

index 07cc5fb5dca01a7160580ac6037a6f8e55dee755..8e93dd2f970d71ba498ce9ac2bcdc115e3c7e42b 100644 (file)
@@ -136,8 +136,8 @@ OPTIONS rsa_options[] = {
     {"pubout", OPT_PUBOUT, '-', "Output a public key"},
     {"passout", OPT_PASSOUT, 's', "Output file pass phrase source"},
     {"passin", OPT_PASSIN, 's', "Input file pass phrase source"},
-    {"RSAPublicKey_in", OPT_RSAPUBKEY_IN, '-', "Input is an RSAPublicKye"},
-    {"RSAPublicKey_out", OPT_RSAPUBKEY_OUT, '-', "Output is an RSAPublicKye"},
+    {"RSAPublicKey_in", OPT_RSAPUBKEY_IN, '-', "Input is an RSAPublicKey"},
+    {"RSAPublicKey_out", OPT_RSAPUBKEY_OUT, '-', "Output is an RSAPublicKey"},
     {"pvk-strong", OPT_PVK_STRONG, '-'},
     {"pvk-weak", OPT_PVK_WEAK, '-'},
     {"pvk-none", OPT_PVK_NONE, '-'},
@@ -321,8 +321,8 @@ int rsa_main(int argc, char **argv)
             }
         }
 
-        if (r == -1 || ERR_peek_error() != 0) { /* should happen only if r ==
-                                                 * -1 */
+        /* should happen only if r == -1 */
+        if (r == -1 || ERR_peek_error() != 0) {
             ERR_print_errors(bio_err);
             goto end;
         }