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

[Xen-changelog] Fix a bug that causes storage key auth to be generated twice.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 8a354917289690417d31c9aefea140b03bc538cf
# Parent  e32258567d055196efc3de2dd1802d50449cb297
Fix a bug that causes storage key auth to be generated twice.

Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@xxxxxxxxx>

diff -r e32258567d05 -r 8a3549172896 tools/vtpm_manager/manager/vtpm_manager.c
--- a/tools/vtpm_manager/manager/vtpm_manager.c Thu Jan 19 08:16:01 2006
+++ b/tools/vtpm_manager/manager/vtpm_manager.c Thu Jan 19 19:04:53 2006
@@ -151,9 +151,6 @@
                                    &osap) );
   
   // Generate boot key's auth
-  Crypto_GetRandom(  &vtpm_globals->storage_key_usage_auth, 
-                    sizeof(TPM_AUTHDATA) );
-  
   TPM_AUTHDATA bootKeyWrapAuth;
   memset(&bootKeyWrapAuth, 0, sizeof(bootKeyWrapAuth));
   

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.