summaryrefslogtreecommitdiff
path: root/lib/x509/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/common.c')
-rw-r--r--lib/x509/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index b1be062c54..bd78b24b35 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -1285,7 +1285,7 @@ _gnutls_x509_get_signature_algorithm(ASN1_TYPE src, const char *src_name)
_gnutls_free_datum(&der);
if (result == 0)
- result = gnutls_pk_to_sign(params.pk, params.dig);
+ result = gnutls_pk_to_sign(params.pk, params.rsa_pss_dig);
else if (result == GNUTLS_E_UNKNOWN_ALGORITHM)
result = GNUTLS_SIGN_UNKNOWN;
} else {