]> git.sur5r.net Git - openldap/commitdiff
Don't BN_init allocated BIGNUMs, they're already initialized
authorHoward Chu <hyc@openldap.org>
Mon, 22 Nov 2004 02:18:02 +0000 (02:18 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 22 Nov 2004 02:18:02 +0000 (02:18 +0000)
include/ldap_pvt.h

index ea73f3c53989670aa8cf1cd7117a4e9dde566d13..dbaad7b97a4311ad34948d6e48a3adae2b513672 100644 (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) \