From 162f00f348b3faaf661d5ba40549d0765412b14f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 22 Nov 2004 02:18:02 +0000 Subject: [PATCH] Don't BN_init allocated BIGNUMs, they're already initialized --- include/ldap_pvt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.39.5