[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] crypto: fix building complaint
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH v3] crypto: fix building complaint |
Date: |
Mon, 5 Sep 2016 15:42:45 +0100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
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 <address@hidden>
> ---
> 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 :|