summaryrefslogtreecommitdiffstats
path: root/pkcs11.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11.c')
-rw-r--r--pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkcs11.c b/pkcs11.c
index 5e051b8..7c0b90a 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -561,7 +561,7 @@ pkcs11_management_id_get (
goto cleanup;
}
- if (base64_encode (certificate_blob, certificate_blob_size, &internal_base64) == -1) {
+ if (openvpn_base64_encode (certificate_blob, certificate_blob_size, &internal_base64) == -1) {
msg (M_WARN, "PKCS#11: Cannot encode certificate");
goto cleanup;
}