[gnutls-devel] GnuTLS | specialize gnutls_load_file() for unix-like OS (!1270)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sat May 30 06:37:20 CEST 2020




Glenn Strauss commented:


I revamped the code to split out parts that could potentially be added to generic interfaces in gnulib, with some function renames, of course.

The generic interfaces take `(off_t)` pointer into which to store the file size, and matches the `(off_t)` type of `struct stat` `st.st_size`, which is more appropriate than `size_t`.  The proposed generic interfaces also take a function pointer to be used for allocating memory, e.g. so that `gnutls_malloc` can be passed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1270#note_352236434
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200530/005179fa/attachment.html>


More information about the Gnutls-devel mailing list