From: Howard Chu Date: Mon, 22 Nov 2004 02:18:02 +0000 (+0000) Subject: Don't BN_init allocated BIGNUMs, they're already initialized X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~251 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=162f00f348b3faaf661d5ba40549d0765412b14f;p=openldap Don't BN_init allocated BIGNUMs, they're already initialized --- diff --git a/include/ldap_pvt.h b/include/ldap_pvt.h index ea73f3c539..dbaad7b97a 100644 --- a/include/ldap_pvt.h +++ b/include/ldap_pvt.h @@ -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) \