Skip to content
  • Gonglei (Arei)'s avatar
    d9269b27
    crypto: fix building complaint · d9269b27
    Gonglei (Arei) authored
    
    
    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: default avatarGonglei <arei.gonglei@huawei.com>
    Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
    d9269b27
    crypto: fix building complaint
    Gonglei (Arei) authored
    
    
    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: default avatarGonglei <arei.gonglei@huawei.com>
    Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
Loading