[gnutls-devel] GnuTLS | gnutls_priority_set: do not override the version after handshake is complete (!777)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Oct 30 22:30:09 CET 2018


Tom started a new discussion on lib/priority.c:

>   * @priority: is a #gnutls_priority_t type.
>   *
>   * Sets the priorities to use on the ciphers, key exchange methods,
> - * and macs.
> + * and macs. Note that this function is expected to be called once
> + * per session; when called multiple times (e.g., before a re-handshake,
> + * the caller should make sure that any new settings are not incompatible
> + * with the original session).
>   *
>   * Returns: %GNUTLS_E_SUCCESS on success, %GNUTLS_E_NO_PRIORITIES_WERE_SET if
>   *   the existing priorities were not overriden due to invalid priority set (behavior

I think we can remove the 
>  %GNUTLS_E_NO_PRIORITIES_WERE_SET if the existing priorities were not overriden due to...

part because we don't remove that error code anymore in that case. Right?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/777#note_113323897
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/20181030/4cd0c717/attachment.html>


More information about the Gnutls-devel mailing list