summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-25 14:53:43 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-29 08:41:21 +0200
commit874f7fc1ed7553c708b1ab438ba07544eb39c8ac (patch)
tree48ba6216076b99358ce77cf5c606346d31f74ece
parent52865e5eeb36c93c8cff8cd88623bbe5e9e9c90d (diff)
downloadgnutls-874f7fc1ed7553c708b1ab438ba07544eb39c8ac.tar.gz
publickey: map RSA ciphersuites to GNUTLS_PK_RSA_PSS
That is in addition to GNUTLS_PK_RSA Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/algorithms/publickey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/algorithms/publickey.c b/lib/algorithms/publickey.c
index 26ac08166f..827f4638ed 100644
--- a/lib/algorithms/publickey.c
+++ b/lib/algorithms/publickey.c
@@ -51,6 +51,8 @@ static const gnutls_pk_map pk_mappings[] = {
{GNUTLS_KX_ECDHE_RSA, GNUTLS_PK_RSA, CIPHER_SIGN},
{GNUTLS_KX_ECDHE_ECDSA, GNUTLS_PK_EC, CIPHER_SIGN},
{GNUTLS_KX_DHE_DSS, GNUTLS_PK_DSA, CIPHER_SIGN},
+ {GNUTLS_KX_DHE_RSA, GNUTLS_PK_RSA_PSS, CIPHER_SIGN},
+ {GNUTLS_KX_ECDHE_RSA, GNUTLS_PK_RSA_PSS, CIPHER_SIGN},
{GNUTLS_KX_SRP_DSS, GNUTLS_PK_DSA, CIPHER_SIGN},
{GNUTLS_KX_RSA_PSK, GNUTLS_PK_RSA, CIPHER_ENCRYPT},
{0, 0, 0}