diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c index f40f14d70c..2a3ab1ecec 100644 --- a/src/vbox/vbox_common.c +++ b/src/vbox/vbox_common.c @@ -428,3 +428,9 @@ int vboxConnectIsSecure(virConnectPtr conn ATTRIBUTE_UNUSED) /* Driver is using local, non-network based transport */ return 1; } + +int vboxConnectIsEncrypted(virConnectPtr conn ATTRIBUTE_UNUSED) +{ + /* No encryption is needed, or used on the local transport*/ + return 0; +} diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c index e43fb3f060..7ab6315347 100644 --- a/src/vbox/vbox_tmpl.c +++ b/src/vbox/vbox_tmpl.c @@ -914,12 +914,6 @@ vboxSocketParseAddrUtf16(vboxGlobalData *data, const PRUnichar *utf16, return result; } -static int vboxConnectIsEncrypted(virConnectPtr conn ATTRIBUTE_UNUSED) -{ - /* No encryption is needed, or used on the local transport*/ - return 0; -} - static int vboxConnectIsAlive(virConnectPtr conn ATTRIBUTE_UNUSED) { return 1; diff --git a/src/vbox/vbox_uniformed_api.h b/src/vbox/vbox_uniformed_api.h index d688403cbe..15cac24a69 100644 --- a/src/vbox/vbox_uniformed_api.h +++ b/src/vbox/vbox_uniformed_api.h @@ -223,6 +223,7 @@ int vboxDomainSave(virDomainPtr dom, const char *path); int vboxConnectGetVersion(virConnectPtr conn, unsigned long *version); char *vboxConnectGetHostname(virConnectPtr conn); int vboxConnectIsSecure(virConnectPtr conn); +int vboxConnectIsEncrypted(virConnectPtr conn); /* Version specified functions for installing uniformed API */ void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);