Bug 12652 - source4/lib/tls/tls.c
source4/lib/tls/tls.c
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.6.0
x86 Mac OS X
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-11 17:36 UTC by Ruga
Modified: 2017-03-11 17:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-11 17:36:51 UTC
[1304/3257] Compiling source4/lib/tls/tls.c
../source4/lib/tls/tls.c:42:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
        gnutls_certificate_credentials x509_cred;
        ^
/usr/local/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
    gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
    ^
../source4/lib/tls/tls.c:43:2: warning: 'gnutls_dh_params' is deprecated [-Wdeprecated-declarations]
        gnutls_dh_params dh_params;
        ^
/usr/local/include/gnutls/compat.h:104:28: note: 'gnutls_dh_params' has been explicitly marked deprecated here
typedef gnutls_dh_params_t gnutls_dh_params _GNUTLS_GCC_ATTR_DEPRECATED;
                           ^
../source4/lib/tls/tls.c:55:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
        gnutls_session session;
        ^
/usr/local/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
                         ^
../source4/lib/tls/tls.c:62:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
        gnutls_certificate_credentials xcred;
        ^
/usr/local/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
    gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
    ^
../source4/lib/tls/tls.c:114:25: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
static ssize_t tls_pull(gnutls_transport_ptr ptr, void *buf, size_t size)
                        ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
../source4/lib/tls/tls.c:153:25: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
static ssize_t tls_push(gnutls_transport_ptr ptr, const void *buf, size_t size)
                        ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
../source4/lib/tls/tls.c:548:42: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
        gnutls_transport_set_ptr(tls->session, (gnutls_transport_ptr)tls);
                                                ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
7 warnings generated.
[1305/3257] Compiling source4/lib/tls/tlscert.c
../source4/lib/tls/tlscert.c:46:2: warning: 'gnutls_x509_crt' is deprecated [-Wdeprecated-declarations]
        gnutls_x509_crt cacrt, crt;
        ^
/usr/local/include/gnutls/compat.h:89:27: note: 'gnutls_x509_crt' has been explicitly marked deprecated here
typedef gnutls_x509_crt_t gnutls_x509_crt _GNUTLS_GCC_ATTR_DEPRECATED;
                          ^
../source4/lib/tls/tlscert.c:47:2: warning: 'gnutls_x509_privkey' is deprecated [-Wdeprecated-declarations]
        gnutls_x509_privkey key, cakey;
        ^
/usr/local/include/gnutls/compat.h:90:31: note: 'gnutls_x509_privkey' has been explicitly marked deprecated here
typedef gnutls_x509_privkey_t gnutls_x509_privkey
                              ^
2 warnings generated.
[1306/3257] Compiling source4/lib/tls/tls_tstream.c
../source4/lib/tls/tls_tstream.c:88:2: warning: 'gnutls_session' is deprecated [-Wdeprecated-declarations]
        gnutls_session tls_session;
        ^
/usr/local/include/gnutls/compat.h:78:26: note: 'gnutls_session' has been explicitly marked deprecated here
typedef gnutls_session_t gnutls_session _GNUTLS_GCC_ATTR_DEPRECATED;
                         ^
../source4/lib/tls/tls_tstream.c:193:42: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
static ssize_t tstream_tls_push_function(gnutls_transport_ptr ptr,
                                         ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
../source4/lib/tls/tls_tstream.c:332:42: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
static ssize_t tstream_tls_pull_function(gnutls_transport_ptr ptr,
                                         ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
../source4/lib/tls/tls_tstream.c:914:2: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
        gnutls_certificate_credentials x509_cred;
        ^
/usr/local/include/gnutls/compat.h:95:5: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
    gnutls_certificate_credentials _GNUTLS_GCC_ATTR_DEPRECATED;
    ^
../source4/lib/tls/tls_tstream.c:915:2: warning: 'gnutls_dh_params' is deprecated [-Wdeprecated-declarations]
        gnutls_dh_params dh_params;
        ^
/usr/local/include/gnutls/compat.h:104:28: note: 'gnutls_dh_params' has been explicitly marked deprecated here
typedef gnutls_dh_params_t gnutls_dh_params _GNUTLS_GCC_ATTR_DEPRECATED;
                           ^
../source4/lib/tls/tls_tstream.c:1118:47: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
        gnutls_transport_set_ptr(tlss->tls_session, (gnutls_transport_ptr)state->tls_stream);
                                                     ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
../source4/lib/tls/tls_tstream.c:1393:47: warning: 'gnutls_transport_ptr' is deprecated [-Wdeprecated-declarations]
        gnutls_transport_set_ptr(tlss->tls_session, (gnutls_transport_ptr)state->tls_stream);
                                                     ^
/usr/local/include/gnutls/compat.h:113:32: note: 'gnutls_transport_ptr' has been explicitly marked deprecated here
typedef gnutls_transport_ptr_t gnutls_transport_ptr
                               ^
7 warnings generated.
Comment 1 Ruga 2017-03-11 17:37:22 UTC
gnutls: stable 3.5.10