[gnutls-devel] GnuTLS | Refactor `_gnutls_buffer_pop_prefix*` (!2121)
(Deprecated) Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Thu Aug 6 12:54:24 CEST 2026
Daiki Ueno commented on a discussion on lib/str.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/2121#note_3652338218
> - int check);
> -
> -/* 24-bit prefix, if check is true, ensure there are enough bytes
> - * remaining in buf */
> -int _gnutls_buffer_pop_prefix24(gnutls_buffer_st *buf, size_t *data_size,
> - int check);
> -
> -/* 16-bit prefix, if check is true, ensure there are enough bytes
> - * remaining in buf */
> -int _gnutls_buffer_pop_prefix16(gnutls_buffer_st *buf, size_t *data_size,
> - int check);
> -
> -/* 8-bit prefix, if check is true ensure, there are enough bytes
> - * remaining in buf */
> -int _gnutls_buffer_pop_prefix8(gnutls_buffer_st *buf, uint8_t *data, int check);
> +/* 32-bit prefix, ensure there are no remaining bytes in buf */
Yeah, the previous comment (without the mention of `check` argument) was correct; just a mess up with rebase.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2121#note_3652338218
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/namespace/17175643/sent_notifications/6-1lg5nvpnrpubssq6n51udctho-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260806/6223bce4/attachment.html>
More information about the Gnutls-devel
mailing list