On Mon, Sep 05, 2016 at 08:36:19PM +0800, Gonglei wrote: > gnutls commit 846753877d renamed LIBGNUTLS_VERSION_NUMBER to > GNUTLS_VERSION_NUMBER. > If using gnutls before that verion, we'll get the below warning: > crypto/tlscredsx509.c:618:5: warning: "GNUTLS_VERSION_NUMBER" is not defined > > Because gnutls 3.x still defines LIBGNUTLS_VERSION_NUMBER for back compat, > Let's > use LIBGNUTLS_VERSION_NUMBER instead of GNUTLS_VERSION_NUMBER to fix building > complaint. > > Signed-off-by: Gonglei <arei.gong...@huawei.com> > --- > v3: use LIBGNUTLS_VERSION_NUMBER instead of GNUTLS_VERSION_NUMBER. [Daniel] > > crypto/init.c | 3 +-- > crypto/tlscredsx509.c | 6 +++--- > tests/crypto-tls-x509-helpers.h | 1 - > 3 files changed, 4 insertions(+), 6 deletions(-)
Thanks, queued in my crypto branch Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|