diff options
Diffstat (limited to 'engines/e_sureware.c')
-rw-r--r-- | engines/e_sureware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_sureware.c b/engines/e_sureware.c index 9c2279c195..270ee0934e 100644 --- a/engines/e_sureware.c +++ b/engines/e_sureware.c @@ -906,7 +906,7 @@ static int surewarehk_rsa_priv_dec(int flen,const unsigned char *from,unsigned c err: if (buf) { - memset(buf,0,tlen); + OPENSSL_cleanse(buf,tlen); OPENSSL_free(buf); } return ret; |