From: Richard Levitte Date: Fri, 16 Nov 2001 23:31:07 +0000 (+0000) Subject: Use memset() instead of bzero(). X-Git-Tag: OpenSSL-engine-0_9_6c~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b5719e9673fdb411fb65e73c9f97e5ebdd06d802;p=oweals%2Fopenssl.git Use memset() instead of bzero(). --- diff --git a/crypto/engine/hw_ubsec.c b/crypto/engine/hw_ubsec.c index 80a3c3cca9..0f7e08c5cb 100644 --- a/crypto/engine/hw_ubsec.c +++ b/crypto/engine/hw_ubsec.c @@ -59,6 +59,7 @@ */ #include +#include #include #include "cryptlib.h" #include @@ -509,7 +510,7 @@ static int ubsec_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p, ENGINEerr(ENGINE_F_UBSEC_MOD_EXP, ENGINE_R_BN_EXPAND_FAIL); goto err; } - bzero(r->d, BN_num_bytes(m)); + memset(r->d, 0, BN_num_bytes(m)); if ((fd = p_UBSEC_ubsec_open(UBSEC_KEY_DEVICE_NAME)) <= 0) {