1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/lib/tls
Lukas Slebodnik fa99ae70f1 tls: Fix warning Wunused-variable
The variable error_pos is used only with enabled ENABLE_GNUTLS
There are warnings if compiled witout gnutls

../source4/lib/tls/tls_tstream.c: In function ‘_tstream_tls_connect_send’:
../source4/lib/tls/tls_tstream.c:1053:14:
    warning: unused variable ‘error_pos’ [-Wunused-variable]
  const char *error_pos;
              ^~~~~~~~~
../source4/lib/tls/tls_tstream.c: In function ‘_tstream_tls_accept_send’:
../source4/lib/tls/tls_tstream.c:1333:14:
     warning: unused variable ‘error_pos’ [-Wunused-variable]
  const char *error_pos;
              ^~~~~~~~~

Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Sep 21 00:01:09 CEST 2016 on sn-devel-144
2016-09-21 00:01:08 +02:00
..
tls_tstream.c tls: Fix warning Wunused-variable 2016-09-21 00:01:08 +02:00
tls.c tls: increase Diffie-Hellman group size to 2048 bits 2015-09-03 03:47:48 +02:00
tls.h CVE-2016-2113: s4:lib/tls: implement infrastructure to do peer verification 2016-04-12 19:25:25 +02:00
tlscert.c CVE-2016-2113: s4:lib/tls: create better certificates and sign the host cert with the ca cert 2016-04-12 19:25:25 +02:00
wscript CVE-2016-2113: s4:lib/tls: implement infrastructure to do peer verification 2016-04-12 19:25:25 +02:00