summaryrefslogtreecommitdiff
path: root/lib/openpgp
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-01 08:33:29 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-01 08:33:29 +0100
commit657d9334635a1c4c08fc6e003e3378062f58aa6d (patch)
treef0427e7236e7905ba4386c1ce3d552d85e3b6346 /lib/openpgp
parent3c37902adad2c4dd5d22b2d2fcc3e9c947b1a4cb (diff)
downloadgnutls-657d9334635a1c4c08fc6e003e3378062f58aa6d.tar.gz
read_file() and friends are accessed as gl_read_file().
Diffstat (limited to 'lib/openpgp')
-rw-r--r--lib/openpgp/gnutls_openpgp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/openpgp/gnutls_openpgp.c b/lib/openpgp/gnutls_openpgp.c
index ae7320aaf6..b1c7c1f866 100644
--- a/lib/openpgp/gnutls_openpgp.c
+++ b/lib/openpgp/gnutls_openpgp.c
@@ -452,7 +452,7 @@ gnutls_certificate_set_openpgp_key_file2 (gnutls_certificate_credentials_t
return GNUTLS_E_FILE_ERROR;
}
- cert.data = read_binary_file (certfile, &size);
+ cert.data = gl_read_binary_file (certfile, &size);
cert.size = (unsigned int) size;
if (cert.data == NULL)
{
@@ -460,7 +460,7 @@ gnutls_certificate_set_openpgp_key_file2 (gnutls_certificate_credentials_t
return GNUTLS_E_FILE_ERROR;
}
- key.data = read_binary_file (keyfile, &size);
+ key.data = gl_read_binary_file (keyfile, &size);
key.size = (unsigned int) size;
if (key.data == NULL)
{
@@ -549,7 +549,7 @@ gnutls_certificate_set_openpgp_keyring_file (gnutls_certificate_credentials_t c,
return GNUTLS_E_INVALID_REQUEST;
}
- ring.data = read_binary_file (file, &size);
+ ring.data = gl_read_binary_file (file, &size);
ring.size = (unsigned int) size;
if (ring.data == NULL)
{