summaryrefslogtreecommitdiff
path: root/lib/crypto-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto-backend.h')
-rw-r--r--lib/crypto-backend.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/crypto-backend.h b/lib/crypto-backend.h
index 07b23cb0f1..9a7c527a0f 100644
--- a/lib/crypto-backend.h
+++ b/lib/crypto-backend.h
@@ -166,8 +166,13 @@ typedef struct gnutls_crypto_bigint {
/* additional information about the public key
*/
typedef struct gnutls_x509_spki_st {
+ /* We can have a key which is of type RSA, but a certificate
+ * of type RSA-PSS; the value here will be the expected value
+ * for signatures (i.e., RSA-PSS) */
gnutls_pk_algorithm_t pk;
- gnutls_digest_algorithm_t dig;
+
+ /* the digest used by RSA-PSS */
+ gnutls_digest_algorithm_t rsa_pss_dig;
/* the size of salt used by RSA-PSS */
unsigned int salt_size;