aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-12-16 19:44:01 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-12-16 19:44:01 +0000
commit2c4cb78ec4ce8c9340085613f99a3df3bbfe475f (patch)
tree68694f37eeee3b7f06eefba1756ea99ac22543bf /testsuite
parentfa490b2292fec40bbdfdf5cccf3689ff9b0a9b46 (diff)
downloadanubis-2c4cb78ec4ce8c9340085613f99a3df3bbfe475f.tar.gz
anubis-2c4cb78ec4ce8c9340085613f99a3df3bbfe475f.tar.bz2
(sanubis_pat): Fix TLS/GSASL usage
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/lib/anubis.exp10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/lib/anubis.exp b/testsuite/lib/anubis.exp
index d4e7353..2cee4b8 100644
--- a/testsuite/lib/anubis.exp
+++ b/testsuite/lib/anubis.exp
@@ -940,15 +940,15 @@ proc anubis_pat {patname} {
} else {
switch -regexp -- "$line" {
"^HELO" {
- if [anubis_authmode] {
+ if {[anubis_authmode]} {
regexp "^HELO *(\[^ \t\]*)" $line dummy rest
- if [anubis_authmode] {
- verbose "REST $rest"
- lappend pattern "EHLO $rest"
+ verbose "REST $rest"
+ lappend pattern "EHLO $rest"
+ if [anubis_check_capability "GNUTLS"] {
lappend pattern ":ADD STARTTLS"
lappend pattern ":ADD EHLO $rest"
- verbose "PATTERN $pattern"
}
+ verbose "PATTERN $pattern"
} else {
lappend pattern $line
}

Return to:

Send suggestions and report system problems to the System administrator.