Only allow PSS padding for PSS keys.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 6 Dec 2016 14:17:21 +0000 (14:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 8 Jan 2017 01:42:49 +0000 (01:42 +0000)
commit08be0331c3632910b937a11e7152207b015265de
tree3fc0873ced4d451a741ee33e4f8ea3dd0414c78d
parentb35b8d116b545656abe14f0dff19aededd7df986
Only allow PSS padding for PSS keys.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2177)
crypto/rsa/rsa_ameth.c
crypto/rsa/rsa_err.c
include/openssl/rsa.h