qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V7 12/13] Support for taking measurements when k


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH V7 12/13] Support for taking measurements when kernel etc. are passed to Qemu
Date: Sun, 14 Aug 2011 16:18:42 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.11

On 08/12/2011 11:12 AM, Andreas Niederl wrote:
Hi,
the SHA1_HashBuf function you are using originates from a non-public
internal API which gets packaged on Fedora but is not available at least
on Debian (Squeeze) and Gentoo.

Well, it's not a private API but it's part of freebl and packaged in FC or RHEL as nss-softokn-freebl(-devel). It still requires 'pkg-config nss-softokn' to provide the path to includes etc.. I could not find this package in Ubuntu, either. So that may also be a problem then for libtpms, which depends on freebl.
Could you please use HASH_HashBuf(HASH_AlgSHA1,...) which is available
on more platforms?
The attached patch would do this.
I'll use this API. This will make the patch a lot simpler since it will only require 'nss' to be available.
I'm not familiar with Fedora's nss packaging but maybe you can also drop
the check for nss-softokn in favor of nss with pkg-config.

Will do.
Thanks for reviewing / testing.

Regards,
    Stefan

Regards,
Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]