* telnet.exp: Skip tests if no DES key types are enabled
authorKen Raeburn <raeburn@mit.edu>
Sat, 13 Dec 2003 07:27:03 +0000 (07:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 13 Dec 2003 07:27:03 +0000 (07:27 +0000)
ticket: 2066
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15914 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/dejagnu/krb-root/ChangeLog
src/tests/dejagnu/krb-root/telnet.exp

index a2ba44d5a5a416431e114f873710cd8fd21c1ada..3904c91f9dafdb2672f9044fbf605ed7f97048dc 100644 (file)
@@ -1,3 +1,7 @@
+2003-12-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * telnet.exp: Skip tests if no DES key types are enabled.
+
 2002-07-12  Ken Raeburn  <raeburn@mit.edu>
 
        * rlogin.exp: Fix previous change.
index 9035a1257248c3dd04303325a77a029bd93d3144..a9733c1176fc9c346b8ed3fb2d9da3fb553fa82b 100644 (file)
@@ -19,6 +19,12 @@ if ![info exists LOGINKRB5] {
     set LOGINKRB5 [findfile $objdir/../../appl/bsd/login.krb5]
 }
 
+if ![regexp des- $supported_enctypes] {
+    # Telnet needs a DES enctype.
+    verbose "Skipping telnet tests for lack of DES support."
+    return
+}
+
 # Remove old wrapper script
     catch "exec rm -f $tmppwd/login.wrap"