3118. [bug] nsupdate could dump core on shutdown when using
SIG(0) keys. [RT #24604]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# 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
|
||||
@@ -140,6 +140,14 @@ grep ns4.other.nil dig.out.ns1 > /dev/null 2>&1 || status=1
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user