Handle errors from EVP_PKEY_CTX_set_* 21/236721/2
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Wed, 17 Jun 2020 16:19:54 +0000 (18:19 +0200)
committerLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 26 Jun 2020 15:36:20 +0000 (17:36 +0200)
commit04eb57b0dd89e74feace9dec903006b50208a04f
tree66d2b6797ad75cd53c612396fe91e1377331fec2
parent71cd0b9a8afeed0ce309d8d4fcee48f2ced0fe34
Handle errors from EVP_PKEY_CTX_set_*

Not every error from EVP_PKEY_CTX_set_* is INTERNAL. Some should be
handled lightly like trying to set DH key with bit_len < 256.

Change-Id: I5993c8d04600ae1e5b0851d924087704c58c0f9c
src/key.c