summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-05-25 18:37:51 +0200
committerDaiki Ueno <ueno@gnu.org>2020-05-29 17:24:34 +0200
commit5b4989dc8e292b4a7e66ee3a1d6be7ad3abf6654 (patch)
tree127c803c30f6a086de824b08c7ea31f9415bcdbe /doc
parent43349cda523f90bc97e43dd86ca1171262a0086c (diff)
downloadgnutls-5b4989dc8e292b4a7e66ee3a1d6be7ad3abf6654.tar.gz
gnulib: update git submodule
This brings in the new fopen-gnu module and the RF_SENSITIVE flag for fread_file and read_file. This also adds the following changes to be consistent with the latest changes in Gnulib: - the callers of fread_file and read_file to be adjusted for the FLAGS argument - "attribute.h" needs to be used extensively Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/ex-ocsp-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ex-ocsp-client.c b/doc/examples/ex-ocsp-client.c
index 33eff67a6c..f0b56fffe2 100644
--- a/doc/examples/ex-ocsp-client.c
+++ b/doc/examples/ex-ocsp-client.c
@@ -183,7 +183,7 @@ static gnutls_x509_crt_t load_cert(const char *cert_file)
if (ret < 0)
exit(1);
- data.data = (void *) read_binary_file(cert_file, &size);
+ data.data = (void *) read_file(cert_file, RF_BINARY, &size);
data.size = size;
if (!data.data) {