summaryrefslogtreecommitdiff
path: root/lib/pkcs11x.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pkcs11x.c')
-rw-r--r--lib/pkcs11x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pkcs11x.c b/lib/pkcs11x.c
index fc428e17a4..c11f12cb8d 100644
--- a/lib/pkcs11x.c
+++ b/lib/pkcs11x.c
@@ -277,7 +277,7 @@ gnutls_pkcs11_obj_get_exts(gnutls_pkcs11_obj_t obj,
spki.data = obj->raw.data;
spki.size = obj->raw.size;
} else {
- ret = x509_raw_crt_to_raw_pubkey(&obj->raw, &spki);
+ ret = _gnutls_x509_raw_crt_to_raw_pubkey(&obj->raw, &spki);
if (ret < 0)
return gnutls_assert_val(ret);
deinit_spki = 1;