mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
src: Drop most of #ifdef WITH_GNUTLS
Now that GnuTLS is a requirement, we can drop a lot of conditionally built code. However, not all ifdef-s can go because we still want libvirt_setuid to build without gnutls. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -117,9 +117,7 @@ testCreateServer(const char *server_name, const char *host, int family)
|
||||
NULL,
|
||||
family,
|
||||
VIR_NET_SERVER_SERVICE_AUTH_NONE,
|
||||
# ifdef WITH_GNUTLS
|
||||
NULL,
|
||||
# endif
|
||||
true,
|
||||
5,
|
||||
2)))
|
||||
@@ -129,9 +127,7 @@ testCreateServer(const char *server_name, const char *host, int family)
|
||||
NULL,
|
||||
family,
|
||||
VIR_NET_SERVER_SERVICE_AUTH_POLKIT,
|
||||
# ifdef WITH_GNUTLS
|
||||
NULL,
|
||||
# endif
|
||||
false,
|
||||
25,
|
||||
5)))
|
||||
@@ -152,9 +148,7 @@ testCreateServer(const char *server_name, const char *host, int family)
|
||||
VIR_NET_SERVER_SERVICE_AUTH_SASL,
|
||||
true,
|
||||
15,
|
||||
# ifdef WITH_GNUTLS
|
||||
NULL,
|
||||
# endif
|
||||
testClientNew,
|
||||
testClientPreExec,
|
||||
testClientFree,
|
||||
@@ -166,9 +160,7 @@ testCreateServer(const char *server_name, const char *host, int family)
|
||||
VIR_NET_SERVER_SERVICE_AUTH_POLKIT,
|
||||
true,
|
||||
66,
|
||||
# ifdef WITH_GNUTLS
|
||||
NULL,
|
||||
# endif
|
||||
testClientNew,
|
||||
testClientPreExec,
|
||||
testClientFree,
|
||||
|
||||
Reference in New Issue
Block a user