The value will be used to override the hostname used for validation of
TLS certificates.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
def->compat = g_strdup(src->compat);
def->tlsAlias = g_strdup(src->tlsAlias);
def->tlsCertdir = g_strdup(src->tlsCertdir);
+ def->tlsHostname = g_strdup(src->tlsHostname);
def->query = g_strdup(src->query);
if (src->sliceStorage)
VIR_FREE(def->tlsAlias);
VIR_FREE(def->tlsCertdir);
+ VIR_FREE(def->tlsHostname);
VIR_FREE(def->ssh_user);
char *tlsAlias;
char *tlsCertdir;
+ /* TLS hostname override */
+ char *tlsHostname;
+
bool detected; /* true if this entry was not provided by the user */
unsigned int debugLevel;