summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-04-27 03:23:43 +0200
committerRich Salz <rsalz@openssl.org>2015-04-27 03:23:43 +0200
commitbc2f5803ccca07d099e39a291644ded46d52a3b0 (patch)
tree5f012cd2bf33ddae727f2de809488e427dd16b96 /apps/rsa.c
parentFix error message (diff)
downloadopenssl-bc2f5803ccca07d099e39a291644ded46d52a3b0.tar.xz
openssl-bc2f5803ccca07d099e39a291644ded46d52a3b0.zip
Fix typo in help & comment formatting
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 07cc5fb5dc..8e93dd2f97 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -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;
}