ia64/xen-unstable

changeset 8631:8a3549172896

Fix a bug that causes storage key auth to be generated twice.

Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Jan 19 20:04:53 2006 +0100 (2006-01-19)
parents e32258567d05
children 911b6d8cd666
files tools/vtpm_manager/manager/vtpm_manager.c
line diff
     1.1 --- a/tools/vtpm_manager/manager/vtpm_manager.c	Thu Jan 19 09:16:01 2006 +0100
     1.2 +++ b/tools/vtpm_manager/manager/vtpm_manager.c	Thu Jan 19 20:04:53 2006 +0100
     1.3 @@ -151,9 +151,6 @@ TPM_RESULT VTPM_Create_Service(){
     1.4  				    &osap) );
     1.5    
     1.6    // Generate boot key's auth
     1.7 -  Crypto_GetRandom(  &vtpm_globals->storage_key_usage_auth, 
     1.8 -		     sizeof(TPM_AUTHDATA) );
     1.9 -  
    1.10    TPM_AUTHDATA bootKeyWrapAuth;
    1.11    memset(&bootKeyWrapAuth, 0, sizeof(bootKeyWrapAuth));
    1.12