diff options
Diffstat (limited to 'lib/pkcs11.c')
-rw-r--r-- | lib/pkcs11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pkcs11.c b/lib/pkcs11.c index 8916624807..750e1d19bc 100644 --- a/lib/pkcs11.c +++ b/lib/pkcs11.c @@ -3417,7 +3417,7 @@ int check_found_cert(struct find_cert_st *priv, gnutls_datum_t *data, time_t now goto cleanup; } - if (_gnutls_check_if_same_cert(priv->crt, tcrt) == 0) { + if (gnutls_x509_crt_equals(priv->crt, tcrt) == 0) { /* doesn't match */ ret = -1; goto cleanup; |