diff options
author | Dirk Feytons <dirk.feytons@gmail.com> | 2017-09-21 09:57:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-21 20:17:06 +0200 |
commit | fa9482ab0907dfacd0fb619add2dbf41de2d8c9c (patch) | |
tree | 6eac5d361fb488cb03749fdbeb2e5090cef61a1e /lib/mime.c | |
parent | 5d916944ae3043de7b8d644d9ca3420fb0b2417e (diff) |
openssl: only verify RSA private key if supported
In some cases the RSA key does not support verifying it because it's
located on a smart card, an engine wants to hide it, ...
Check the flags on the key before trying to verify it.
OpenSSL does the same thing internally; see ssl/ssl_rsa.c
Closes #1904
Diffstat (limited to 'lib/mime.c')
0 files changed, 0 insertions, 0 deletions