mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-31 00:45:18 +00:00
src: Always build virnettlscontext into libvirt-net-rpc.la
Since GnuTLS is required there is no way to go with !WITH_GNUTLS branch and just distribute these files. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
60d9ad6f1e
commit
4f15e75a9a
@ -25,23 +25,6 @@ virNetServerServiceGetTLSContext;
|
||||
virNetSocketSetTLSSession;
|
||||
|
||||
|
||||
# rpc/virnettlscontext.h
|
||||
virNetTLSContextCheckCertificate;
|
||||
virNetTLSContextNewClient;
|
||||
virNetTLSContextNewClientPath;
|
||||
virNetTLSContextNewServer;
|
||||
virNetTLSContextNewServerPath;
|
||||
virNetTLSInit;
|
||||
virNetTLSSessionGetHandshakeStatus;
|
||||
virNetTLSSessionGetKeySize;
|
||||
virNetTLSSessionGetX509DName;
|
||||
virNetTLSSessionHandshake;
|
||||
virNetTLSSessionNew;
|
||||
virNetTLSSessionRead;
|
||||
virNetTLSSessionSetIOCallbacks;
|
||||
virNetTLSSessionWrite;
|
||||
|
||||
|
||||
# Let emacs know we want case-insensitive sorting
|
||||
# Local Variables:
|
||||
# sort-fold-case: t
|
||||
|
@ -257,6 +257,23 @@ virNetSocketUpdateIOCallback;
|
||||
virNetSocketWrite;
|
||||
|
||||
|
||||
# rpc/virnettlscontext.h
|
||||
virNetTLSContextCheckCertificate;
|
||||
virNetTLSContextNewClient;
|
||||
virNetTLSContextNewClientPath;
|
||||
virNetTLSContextNewServer;
|
||||
virNetTLSContextNewServerPath;
|
||||
virNetTLSInit;
|
||||
virNetTLSSessionGetHandshakeStatus;
|
||||
virNetTLSSessionGetKeySize;
|
||||
virNetTLSSessionGetX509DName;
|
||||
virNetTLSSessionHandshake;
|
||||
virNetTLSSessionNew;
|
||||
virNetTLSSessionRead;
|
||||
virNetTLSSessionSetIOCallbacks;
|
||||
virNetTLSSessionWrite;
|
||||
|
||||
|
||||
# Let emacs know we want case-insensitive sorting
|
||||
# Local Variables:
|
||||
# sort-fold-case: t
|
||||
|
@ -31,6 +31,8 @@ libvirt_la_BUILT_LIBADD += \
|
||||
libvirt_net_rpc_la_SOURCES = \
|
||||
rpc/virnetmessage.h \
|
||||
rpc/virnetmessage.c \
|
||||
rpc/virnettlscontext.h \
|
||||
rpc/virnettlscontext.c \
|
||||
rpc/virnetsocket.h \
|
||||
rpc/virnetsocket.c \
|
||||
rpc/virkeepalive.h \
|
||||
@ -50,18 +52,6 @@ EXTRA_DIST += \
|
||||
$(NULL)
|
||||
endif ! WITH_SSH2
|
||||
|
||||
if WITH_GNUTLS
|
||||
libvirt_net_rpc_la_SOURCES += \
|
||||
rpc/virnettlscontext.h \
|
||||
rpc/virnettlscontext.c \
|
||||
$(NULL)
|
||||
else ! WITH_GNUTLS
|
||||
EXTRA_DIST += \
|
||||
rpc/virnettlscontext.h \
|
||||
rpc/virnettlscontext.c \
|
||||
$(NULL)
|
||||
endif ! WITH_GNUTLS
|
||||
|
||||
if WITH_SASL
|
||||
libvirt_net_rpc_la_SOURCES += \
|
||||
rpc/virnetsaslcontext.h \
|
||||
|
Loading…
x
Reference in New Issue
Block a user