Re: [libvirt] [PATCH REPOST 3/4] util: Alter virCryptoEncryptData for non GNUTLS builds

2016-06-07 Thread Ján Tomko
On Mon, Jun 06, 2016 at 02:13:48PM -0400, John Ferlan wrote: > Rather than intermixing the ATTRIBUTE_UNUSED - use HAVE_GNUTLS_CIPHER_ENCRYPT > for the whole function instead. > > Signed-off-by: John Ferlan > --- > src/util/vircrypto.c | 36 +--- > 1 file changed,

[libvirt] [PATCH REPOST 3/4] util: Alter virCryptoEncryptData for non GNUTLS builds

2016-06-06 Thread John Ferlan
Rather than intermixing the ATTRIBUTE_UNUSED - use HAVE_GNUTLS_CIPHER_ENCRYPT for the whole function instead. Signed-off-by: John Ferlan --- src/util/vircrypto.c | 36 +--- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/src/util/vircrypto.c b/src/