proper initialization of rsa private key
authorMartin Willi <martin@strongswan.org>
Thu, 30 Aug 2007 12:47:38 +0000 (12:47 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 30 Aug 2007 12:47:38 +0000 (12:47 -0000)
src/libstrongswan/crypto/rsa/rsa_private_key.c

index 5b16479..5bea172 100644 (file)
@@ -575,6 +575,8 @@ static private_rsa_private_key_t *rsa_private_key_create_empty(void)
        this->rsasp1 = rsadp; /* same algorithm */
        this->compute_prime = compute_prime;
        
+       this->keyid = chunk_empty;
+       
        return this;
 }