diff options
Diffstat (limited to 'lib/x509/x509.c')
-rw-r--r-- | lib/x509/x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index b9cf50cd5f..d0de3cb97f 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -2582,7 +2582,7 @@ gnutls_x509_crt_get_verify_algorithm (gnutls_x509_crt_t crt, return ret; } - ret = _gnutls_x509_verify_algorithm ((gnutls_mac_algorithm_t *) hash, + ret = _gnutls_x509_verify_algorithm (hash, signature, gnutls_x509_crt_get_pk_algorithm (crt, NULL), |