From: JINMEI Tatuya Date: Fri, 27 Jan 2012 21:54:14 +0000 (-0800) Subject: [1575] used the NSEC3Hash factory in the python wrapper, too. X-Git-Tag: trac2351_base~277^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea2af1351e60e715bb70fb1b021c87e47add5d24;p=thirdparty%2Fkea.git [1575] used the NSEC3Hash factory in the python wrapper, too. --- diff --git a/src/lib/dns/python/nsec3hash_python.cc b/src/lib/dns/python/nsec3hash_python.cc index 52ce08f29d..cd97a80ba0 100644 --- a/src/lib/dns/python/nsec3hash_python.cc +++ b/src/lib/dns/python/nsec3hash_python.cc @@ -59,7 +59,7 @@ NSEC3Hash_init(PyObject* po_self, PyObject* args, PyObject*) { "not %.200s", po_rdata->ob_type->tp_name); return (-1); } - self->cppobj = new NSEC3Hash( + self->cppobj = NSEC3Hash::create( dynamic_cast( PyRdata_ToRdata(po_rdata))); return (0);