summaryrefslogtreecommitdiffstats
path: root/pkcs11.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-30 16:34:11 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 11:44:36 +0200
commita4da1fe776b774670948f00898d370da614960f5 (patch)
treec01d7ab792f07338a12c30d803f81cf7a7db8429 /pkcs11.c
parent5fe5fe9e6264d45154a7ece8c85fa70173429ff8 (diff)
downloadopenvpn-a4da1fe776b774670948f00898d370da614960f5.tar.gz
openvpn-a4da1fe776b774670948f00898d370da614960f5.tar.xz
openvpn-a4da1fe776b774670948f00898d370da614960f5.zip
Modified base64 code in preparation for PolarSSL merge
- Renamed base64_decode and base64_encode to openvpn_* - Changed the contributor's name to UTF-8 Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
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;
}