[PATCH 02/11] virCryptoEncryptDataAESgnutls: Properly initialize data structures

Ján Tomko jtomko at redhat.com
Mon Dec 12 12:06:11 UTC 2022


On a Friday in 2022, Peter Krempa wrote:
>The initialization vector is not optional thus we also don't need to
>check whether the caller passed it in. Additionally we can use c99
>initializers for the gnutls_datum_t structs.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/vircrypto.c | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20221212/84615b8a/attachment.sig>


More information about the libvir-list mailing list