Make pkeyutl a bit more user-friendly
authorJohannes Bauer <joe@johannes-bauer.com>
Tue, 20 Mar 2018 19:34:41 +0000 (20:34 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 20 Mar 2018 20:02:44 +0000 (20:02 +0000)
commit418c784b114a37fe948517ea0a257bea905b3c37
tree2e169ff8cb907b1a988f4eb974cb009948d53169
parentc081558cc4d94f4cd1a4498ba43339d1bf05f5d7
Make pkeyutl a bit more user-friendly

Give meaningful error messages when the user incorrectly uses pkeyutl;
backport to OpenSSL_1_1_0-stable, cherrypicked from
f6add6ac2c42df37d63b36dbef43e701875893d7.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5699)
apps/pkeyutl.c