]> Git Repo - qemu.git/commit - qemu-nbd.c
block: initialize qcrypto API at startup
authorDaniel P. Berrange <[email protected]>
Wed, 6 Apr 2016 11:12:06 +0000 (12:12 +0100)
committerKevin Wolf <[email protected]>
Tue, 12 Apr 2016 16:06:51 +0000 (18:06 +0200)
commitc229708848cc77b0277e7260f7e739d441c1d086
treea9c124d67dcc8df97249011afbe9084d90ed64e1
parent143605a200f9d418d62d25d91b1477b1d91c0b18
block: initialize qcrypto API at startup

Any programs which call the qcrypto APIs should ensure that
qcrypto_init() has been called before anything else which
can use crypto. Essentially this means right at the start
of the main method before initializing anything else.

This is important because some versions of gnutls/gcrypt
require explicit initialization before use.

Signed-off-by: Daniel P. Berrange <[email protected]>
Reviewed-by: Alex Bligh <[email protected]>
Tested-by: Alex Bligh <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
qemu-img.c
qemu-io.c
qemu-nbd.c
This page took 0.025154 seconds and 4 git commands to generate.