[gnutls-devel] GnuTLS | keylogfile: generalize with a callback (!1184)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Feb 7 16:26:24 CET 2020




Tim Rühsen started a new discussion on lib/includes/gnutls/gnutls.h.in: https://gitlab.com/gnutls/gnutls/-/merge_requests/1184#note_284357660

> +} gnutls_handshake_secret_type_t;
> +
> +  /**
> +   * gnutls_handshake_secret_function:
> +   * @session: the current session
> +   * @type: #gnutls_handshake_secret_type_t
> +   * @secret: the (const) data of the derived secret.
> +   *
> +   * Function prototype for secret derivation hooks. It is set using
> +   * gnutls_handshake_set_secret_function().
> +   *
> +   * Returns: Non zero on error.
> +   * Since: 3.6.13
> +   */
> +typedef int (*gnutls_handshake_secret_func) (gnutls_session_t,
> +					     gnutls_handshake_secret_type_t type,

do the variable names add any value here ? if no -> remove them, if yes - add the var name for gnutls_session_t

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1184#note_284357660
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/20200207/b4d50cd7/attachment.html>


More information about the Gnutls-devel mailing list