Skip to content

Commit

Permalink
fixup! APPS/pkeyutl.pod: fix checks and documentation regarding -peerkey
Browse files Browse the repository at this point in the history
  • Loading branch information
DDvO committed Nov 15, 2024
1 parent 113dbcc commit e35eb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pkeyutl.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ int pkeyutl_main(int argc, char **argv)
goto opthelp;
} else if (peerkey != NULL && pkey_op != EVP_PKEY_OP_DERIVE) {
BIO_printf(bio_err,
"%s: -peerkey option needlessly given (when not performing -derive).\n", prog);
"%s: -peerkey option not allowed without -derive.\n", prog);
goto opthelp;
} else if (peerkey == NULL && pkey_op == EVP_PKEY_OP_DERIVE) {
BIO_printf(bio_err,
Expand Down

0 comments on commit e35eb0a

Please sign in to comment.