git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Taint: treat $message_body & $message_body_end as tainted
[exim.git]
/
test
/
scripts
/
2100-OpenSSL
/
2132
diff --git
a/test/scripts/2100-OpenSSL/2132
b/test/scripts/2100-OpenSSL/2132
index 620a63f57b50e1af55c7f3587c97016730fa5d66..cdf4ed2fd8721fdb7f71887f196c09349693338a 100644
(file)
--- a/
test/scripts/2100-OpenSSL/2132
+++ b/
test/scripts/2100-OpenSSL/2132
@@
-1,6
+1,8
@@
# TLS server: server ca cert from directory
exim -DSERVER=server -bd -oX PORT_D
****
# TLS server: server ca cert from directory
exim -DSERVER=server -bd -oX PORT_D
****
+#
+### Should accept message
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
@@
-24,6
+26,7
@@
This is a test encrypted message.
quit
??? 221
****
quit
??? 221
****
+### Should accept message (with a difficult env-from)
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
client-ssl 127.0.0.1 PORT_D
??? 220
ehlo rhu.barb
@@
-47,7
+50,8
@@
This is a test encrypted message.
quit
??? 221
****
quit
??? 221
****
-client-ssl HOSTIPV4 PORT_D
+### client cert verify required; none given
+client-ssl -t2 HOSTIPV4 PORT_D
??? 220
ehlo rhu.barb
??? 250-
??? 220
ehlo rhu.barb
??? 250-
@@
-58,7
+62,12
@@
ehlo rhu.barb
??? 250
starttls
??? 220
??? 250
starttls
??? 220
+noop
+????554
+noop
+??? 554
****
****
+### client cert verify required; good one supplied
client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
??? 220
ehlo rhu.barb
client-ssl HOSTIPV4 PORT_D DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.pem DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.unlocked.key
??? 220
ehlo rhu.barb