Merged. Thanks! regards, Joy
On Thu, 2015-07-02 at 15:00 +0200, Harald Freudenberger wrote: > Signed-off-by: Harald Freudenberger <[email protected]> > --- > usr/lib/pkcs11/cca_stdll/cca_specific.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/usr/lib/pkcs11/cca_stdll/cca_specific.c > b/usr/lib/pkcs11/cca_stdll/cca_specific.c > index 9a649d0..2e8ba9c 100644 > --- a/usr/lib/pkcs11/cca_stdll/cca_specific.c > +++ b/usr/lib/pkcs11/cca_stdll/cca_specific.c > @@ -2386,6 +2386,9 @@ static CK_RV import_aes_key(unsigned char *key, > CK_ULONG keylen, > return rc; > } > > + /* zero clear key value */ > + memset(key, 0, keylen); > + > return CKR_OK; > } > > @@ -2442,6 +2445,9 @@ static CK_RV import_des_key(unsigned char *key, > CK_ULONG keylen, > return rc; > } > > + /* zero clear key value */ > + memset(key, 0, keylen); > + > return CKR_OK; > } > > @@ -2533,6 +2539,9 @@ static CK_RV import_generic_secret_key(unsigned char > *key, CK_ULONG keylen, > return rc; > } > > + /* zero clear key value */ > + memset(key, 0, keylen); > + > return CKR_OK; > } > ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Opencryptoki-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech
