Your message dated Sat, 18 Apr 2015 16:00:08 +0200
with message-id <[email protected]>
and subject line Re: Bug#624067: gloox: Uses deprecated _set_priority GnuTLS
functions
has caused the Debian Bug report #624067,
regarding gloox: Uses deprecated _set_priority GnuTLS functions
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
624067: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624067
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gloox
Version: 1.0-1
Severity: normal
User: [email protected]
Usertags: deprecated-gnutls-2.12
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:
====================================================
tlsgnutlsclient.cpp:66:5: warning: 'int
gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:344)
tlsgnutlsclient.cpp:66:64: warning: 'int
gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:344)
tlsgnutlsclient.cpp:67:5: warning: 'int
gnutls_cipher_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:335)
tlsgnutlsclient.cpp:67:60: warning: 'int
gnutls_cipher_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:335)
tlsgnutlsclient.cpp:68:5: warning: 'int
gnutls_compression_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:339)
tlsgnutlsclient.cpp:68:63: warning: 'int
gnutls_compression_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:339)
tlsgnutlsclient.cpp:69:5: warning: 'int
gnutls_kx_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:342)
tlsgnutlsclient.cpp:69:52: warning: 'int
gnutls_kx_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:342)
tlsgnutlsclient.cpp:70:5: warning: 'int
gnutls_mac_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:337)
tlsgnutlsclient.cpp:70:54: warning: 'int
gnutls_mac_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:337)
tlsgnutlsserveranon.cpp:64:5: warning: 'int
gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:344)
tlsgnutlsserveranon.cpp:64:64: warning: 'int
gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:344)
tlsgnutlsserveranon.cpp:65:5: warning: 'int
gnutls_cipher_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:335)
tlsgnutlsserveranon.cpp:65:60: warning: 'int
gnutls_cipher_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:335)
tlsgnutlsserveranon.cpp:66:5: warning: 'int
gnutls_compression_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:339)
tlsgnutlsserveranon.cpp:66:63: warning: 'int
gnutls_compression_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:339)
tlsgnutlsserveranon.cpp:67:5: warning: 'int
gnutls_kx_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:342)
tlsgnutlsserveranon.cpp:67:52: warning: 'int
gnutls_kx_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:342)
tlsgnutlsserveranon.cpp:68:5: warning: 'int
gnutls_mac_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:337)
tlsgnutlsserveranon.cpp:68:54: warning: 'int
gnutls_mac_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:337)
tlsgnutlsclientanon.cpp:60:5: warning: 'int
gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:344)
tlsgnutlsclientanon.cpp:60:64: warning: 'int
gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:344)
tlsgnutlsclientanon.cpp:61:5: warning: 'int
gnutls_cipher_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:335)
tlsgnutlsclientanon.cpp:61:60: warning: 'int
gnutls_cipher_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:335)
tlsgnutlsclientanon.cpp:62:5: warning: 'int
gnutls_compression_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:339)
tlsgnutlsclientanon.cpp:62:63: warning: 'int
gnutls_compression_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:339)
tlsgnutlsclientanon.cpp:63:5: warning: 'int
gnutls_kx_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:342)
tlsgnutlsclientanon.cpp:63:52: warning: 'int
gnutls_kx_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:342)
tlsgnutlsclientanon.cpp:64:5: warning: 'int
gnutls_mac_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:337)
tlsgnutlsclientanon.cpp:64:54: warning: 'int
gnutls_mac_set_priority(gnutls_session_int*, const int*)' is deprecated
(declared at /usr/include/gnutls/compat.h:337)
====================================================
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).
cu Andreas
--- End Message ---
--- Begin Message ---
Version: 1.0.11-1
On 2011-04-25 Andreas Metzler <[email protected]> wrote:
> ====================================================
> tlsgnutlsclient.cpp:66:5: warning: 'int
> gnutls_protocol_set_priority(gnutls_session_int*, const int*)' is deprecated
> (declared at /usr/include/gnutls/compat.h:344)
[...]
This is fixed in sid:
gloox-1.0.11/src/tlsgnutlsclient.cpp
#if GNUTLS_VERSION_NUMBER >= 0x020600
int ret = gnutls_priority_set_direct( *m_session,
"SECURE128:+PFS:+COMP-ALL:+VERS-TLS-ALL:-VERS-SSL3.0:+SIGN-ALL:+CURVE-ALL", 0 );
if( ret != GNUTLS_E_SUCCESS )
return false;
#else
const int protocolPriority[] = {
#ifdef GNUTLS_TLS1_2
GNUTLS_TLS1_2,
#endif
GNUTLS_TLS1_1, GNUTLS_TLS1, 0 };
const int kxPriority[] = { GNUTLS_KX_RSA, GNUTLS_KX_DHE_RSA,
GNUTLS_KX_DHE_DSS, 0 };
const int cipherPriority[] = { GNUTLS_CIPHER_AES_256_CBC,
GNUTLS_CIPHER_AES_128_CBC,
GNUTLS_CIPHER_3DES_CBC,
GNUTLS_CIPHER_ARCFOUR, 0 };
const int compPriority[] = { GNUTLS_COMP_ZLIB, GNUTLS_COMP_NULL, 0 };
const int macPriority[] = { GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0 };
gnutls_protocol_set_priority( *m_session, protocolPriority );
gnutls_cipher_set_priority( *m_session, cipherPriority );
gnutls_compression_set_priority( *m_session, compPriority );
gnutls_kx_set_priority( *m_session, kxPriority );
gnutls_mac_set_priority( *m_session, macPriority );
#endif
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--- End Message ---