[libvirt] [PATCH v5 3/6] util: Introduce virCryptoGenerateRandom

Peter Krempa pkrempa at redhat.com
Fri May 20 13:00:49 UTC 2016


On Thu, May 19, 2016 at 16:29:02 -0400, John Ferlan wrote:
> Move the logic from qemuDomainGenerateRandomKey into this new
> function, altering the comments, variable names, and error messages
> to keep things more generic.
> 
> NB: Although perhaps more reasonable to add soemthing to virrandom.c.
>     The virrandom.c was included in the setuid_rpc_client, so I chose
>     placement in vircrypto.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/libvirt_private.syms |  1 +
>  src/qemu/qemu_domain.c   | 53 ++----------------------------------------------
>  src/util/vircrypto.c     | 41 +++++++++++++++++++++++++++++++++++++
>  src/util/vircrypto.h     |  2 ++
>  4 files changed, 46 insertions(+), 51 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160520/ad4a3d80/attachment-0001.sig>


More information about the libvir-list mailing list