Support pad mode get/set for PSS keys.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 30 Nov 2016 18:26:10 +0000 (18:26 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 8 Jan 2017 01:42:48 +0000 (01:42 +0000)
commita300c7256e14527e3c4804b34824835db42fce54
treeded3844ef8305caf0ad3bc2bf960e5f7b569c15c
parente64b2b5c839efb89403b4894f1ed43d5b8131201
Support pad mode get/set for PSS keys.

Pad mode setting returns an error if the mode is anything other then PSS.

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_pmeth.c
include/openssl/rsa.h