2008-05-11 18:41:54 -04:00
|
|
|
USING: io.sockets.secure io.encodings.ascii alien.strings
|
|
|
|
openssl namespaces accessors tools.test continuations kernel ;
|
|
|
|
|
2008-05-18 20:08:56 -04:00
|
|
|
openssl secure-socket-backend [
|
2008-05-11 18:41:54 -04:00
|
|
|
[ ] [
|
2008-05-18 20:08:56 -04:00
|
|
|
<secure-config>
|
2009-02-15 20:53:21 -05:00
|
|
|
"vocab:openssl/test/server.pem" >>key-file
|
|
|
|
"vocab:openssl/test/root.pem" >>ca-file
|
|
|
|
"vocab:openssl/test/dh1024.pem" >>dh-file
|
2008-05-18 23:24:55 -04:00
|
|
|
"password" >>password
|
2008-05-18 20:08:56 -04:00
|
|
|
[ ] with-secure-context
|
2008-05-11 18:41:54 -04:00
|
|
|
] unit-test
|
|
|
|
|
|
|
|
[
|
2008-05-18 20:08:56 -04:00
|
|
|
<secure-config>
|
2009-02-15 20:53:21 -05:00
|
|
|
"vocab:openssl/test/server.pem" >>key-file
|
|
|
|
"vocab:openssl/test/root.pem" >>ca-file
|
2008-05-18 23:24:55 -04:00
|
|
|
"wrong password" >>password
|
2008-05-18 20:08:56 -04:00
|
|
|
[ ] with-secure-context
|
2008-05-11 18:41:54 -04:00
|
|
|
] must-fail
|
|
|
|
] with-variable
|