diff --git a/apps/pkeyutl.c b/apps/pkeyutl.c index d9c89969d5843..b5477c9bf8139 100644 --- a/apps/pkeyutl.c +++ b/apps/pkeyutl.c @@ -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,