Fix a bug that causes storage key auth to be generated twice.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 19 Jan 2006 19:04:53 +0000 (20:04 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 19 Jan 2006 19:04:53 +0000 (20:04 +0100)
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
tools/vtpm_manager/manager/vtpm_manager.c

index c9eda0440c6f06b9dcc7fd4f2d8aceae69c6e7ba..ab391a6ccc966ccb12a09b22e0a95d13bee6120a 100644 (file)
@@ -151,9 +151,6 @@ TPM_RESULT VTPM_Create_Service(){
                                    &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));