summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/engine/hw_ubsec.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-11-11 22:15:18 +0000
committermarkus <markus@openbsd.org>2003-11-11 22:15:18 +0000
commitcdc51833b6c06c4d2bb61dab574d6d6c40e4a806 (patch)
treef9fc9a67a1a98fe5ec5af41fc8a54135caae46f8 /lib/libcrypto/engine/hw_ubsec.c
parentimport 0.9.7c (diff)
downloadwireguard-openbsd-cdc51833b6c06c4d2bb61dab574d6d6c40e4a806.tar.xz
wireguard-openbsd-cdc51833b6c06c4d2bb61dab574d6d6c40e4a806.zip
merge 0.9.7c; minor bugsfixes;
API addition: ERR_release_err_state_table [make includes before you build libssl/libcrypto]
Diffstat (limited to 'lib/libcrypto/engine/hw_ubsec.c')
-rw-r--r--lib/libcrypto/engine/hw_ubsec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libcrypto/engine/hw_ubsec.c b/lib/libcrypto/engine/hw_ubsec.c
index 6286dd851c6..5234a08a07b 100644
--- a/lib/libcrypto/engine/hw_ubsec.c
+++ b/lib/libcrypto/engine/hw_ubsec.c
@@ -561,7 +561,6 @@ static int ubsec_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
UBSECerr(UBSEC_F_UBSEC_MOD_EXP, UBSEC_R_BN_EXPAND_FAIL);
return 0;
}
- memset(r->d, 0, BN_num_bytes(m));
if ((fd = p_UBSEC_ubsec_open(UBSEC_KEY_DEVICE_NAME)) <= 0) {
fd = 0;