Don't BN_init allocated BIGNUMs, they're already initialized

This commit is contained in:
Howard Chu 2004-11-22 02:18:02 +00:00
parent c5006f4b87
commit 162f00f348

View File

@ -275,7 +275,7 @@ LDAP_END_DECL
typedef BIGNUM* ldap_pvt_mp_t;
#define ldap_pvt_mp_init(mp) \
do { (mp) = BN_new(); BN_init((mp)); } while (0)
(mp) = BN_new()
/* FIXME: we rely on mpr being initialized */
#define ldap_pvt_mp_init_set(mpr,mpv) \