The text b40348f7bbd8, as Debian 12 (Bookworm) shipped it.
API function
gnutls_record_get_state(3) on Linux now