]> xenbits.xensource.com Git - libvirt.git/commit
configure: allow setting default TLS priority string
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 3 Jun 2016 16:31:48 +0000 (17:31 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 8 Jun 2016 12:48:45 +0000 (13:48 +0100)
commitcbb2e91ecc56d218ca20c1a9ba345eaf754d6c5d
treed47040f16517d4fd69813dcf4a47464cce03b5c1
parent20c5ded9d013e8186e98e36ef62aea2e86f5c2f3
configure: allow setting default TLS priority string

Currently libvirt calls gnutls_set_default_priority()
which on old systems resolves to "NORMAL" while new
systems it resolves to "@SYSTEM". Either way, this
is a global default that is identical across all apps.

We want to allow distros to flexibility to define a
custom default string for libvirt priority, so add
a --tls-priority=STRING  flag to configure to enable
this to be set.

It is expected that distros would use this when creating
RPM/Deb/etc packages, according to their preferred crypto
handling policies.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
configure.ac
src/rpc/virnettlscontext.c