diff options
-rw-r--r-- | lib/file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/file.c b/lib/file.c index 03aa265c38..ed044ff842 100644 --- a/lib/file.c +++ b/lib/file.c @@ -46,6 +46,10 @@ int _gnutls_file_exists(const char *file) * zero terminated but the terminating null is not included in length. * The returned data are allocated using gnutls_malloc(). * + * Note that this function is not designed for reading sensitive materials, + * such as private keys, on practical applications. When the reading fails + * in the middle, the partially loaded content might remain on memory. + * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise * an error code is returned. * |