#3515: Remove deprecated _set_priority GnuTLS functions (patch available)
------------------------------+---------------------------------------------
 Reporter:  antonio@…         |       Owner:  mutt-dev
     Type:  defect            |      Status:  new     
 Priority:  minor             |   Milestone:          
Component:  crypto            |     Version:  1.5.21  
 Keywords:  patch             |  
------------------------------+---------------------------------------------

Old description:

> Reporting from http://bugs.debian.org/624058
>
> {{{
> This package is using some functions which are marked deprecated in
> newer versions of GnuTLS (>=2.12.x). (They are not yet removed, though.)
> These functions will be removed in future releases. GnuTLS 2.12.x is
> already available in experimental.
>
> Excerpt from buildlog:
> ====================================================
> ../mutt_ssl_gnutls.c:313:3: warning: 'gnutls_protocol_set_priority' is
> deprecated (declared at /usr/include/gnutls/compat.h:344)
> ../mutt_ssl_gnutls.c:313:3: warning: 'gnutls_protocol_set_priority' is
> deprecated (declared at /usr/include/gnutls/compat.h:344)
> ====================================================
>
> The gnutls_*_set_priority family of functions has been marked deprecated
> in 2.12.x. These functions have been superceded by
> gnutls_priority_set_direct(). The replacement function was added in
> gnutls
> stable release 2.2.0 (released 2007-12-14).
> }}}
>
> The attached patch fixes the problem

New description:

 Reporting from http://bugs.debian.org/624058

 {{{
 This package is using some functions which are marked deprecated in
 newer versions of GnuTLS (>=2.12.x). (They are not yet removed, though.)
 These functions will be removed in future releases. GnuTLS 2.12.x is
 already available in experimental.

 Excerpt from buildlog:
 ====================================================
 ../mutt_ssl_gnutls.c:313:3: warning: 'gnutls_protocol_set_priority' is
 deprecated (declared at /usr/include/gnutls/compat.h:344)
 ../mutt_ssl_gnutls.c:313:3: warning: 'gnutls_protocol_set_priority' is
 deprecated (declared at /usr/include/gnutls/compat.h:344)
 ====================================================

 The gnutls_*_set_priority family of functions has been marked deprecated
 in 2.12.x. These functions have been superceded by
 gnutls_priority_set_direct(). The replacement function was added in gnutls
 stable release 2.2.0 (released 2007-12-14).
 }}}

 The attached patch fixes the problem

--

Comment(by brendan):

 Thanks for the patch, but I think it needs some autoconf support to only
 call the new function when it is available, otherwise to fall back to the
 old one.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3515#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to