+3118. [bug] nsupdate could dump core on shutdown when using
+ SIG(0) keys. [RT #24604]
+
3117. [cleanup] Remove doc and parser references to the
never-implemented 'auto-dnssec create' option.
[RT #24533]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsupdate.c,v 1.195 2011/03/21 19:54:02 each Exp $ */
+/* $Id: nsupdate.c,v 1.196 2011/05/23 22:25:32 each Exp $ */
/*! \file */
keyfile, isc_result_totext(result));
return;
}
- } else
+ } else {
dst_key_attach(dstkey, &sig0key);
+ dst_key_free(&dstkey);
+ }
}
static void
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: clean.sh,v 1.23 2011/05/06 21:23:50 each Exp $
+# $Id: clean.sh,v 1.24 2011/05/23 22:25:32 each Exp $
#
# Clean up after zone transfer tests.
rm -f ns3/K*
rm -f dig.out.ns3.*
rm -f jp.out.ns3.*
+rm -f Kxxx.*
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: tests.sh,v 1.36 2011/05/06 21:23:50 each Exp $
+# $Id: tests.sh,v 1.37 2011/05/23 22:25:32 each Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
grep ns5.other.nil dig.out.ns1 > /dev/null 2>&1 || status=1
grep ns6.other.nil dig.out.ns1 > /dev/null 2>&1 || status=1
+ret=0
+echo "I:check SIG(0) key is accepted"
+key=`$KEYGEN -q -r random.data -a NSEC3RSASHA1 -b 512 -T KEY -n ENTITY xxx`
+echo "" | $NSUPDATE -k ${key}.private > /dev/null 2>&1 || ret=1
+if [ $ret -ne 0 ]; then
+ echo "I:failed"
+ status=1
+fi
if $PERL -e 'use Net::DNS;' 2>/dev/null
then