2008-06-17 01:04:18 -04:00
|
|
|
IN: io.sockets.secure.tests
|
2013-10-14 08:45:33 -04:00
|
|
|
USING: accessors kernel io.sockets io.sockets.secure system tools.test ;
|
2008-06-17 01:04:18 -04:00
|
|
|
|
2015-07-03 12:39:59 -04:00
|
|
|
{ "hello" 24 } [ "hello" 24 <inet> <secure> [ host>> ] [ port>> ] bi ] unit-test
|
2008-06-27 20:26:36 -04:00
|
|
|
|
2015-07-03 12:39:59 -04:00
|
|
|
{ } [
|
2008-06-27 20:26:36 -04:00
|
|
|
<secure-config>
|
2009-02-15 20:53:21 -05:00
|
|
|
"vocab:openssl/test/server.pem" >>key-file
|
|
|
|
"vocab:openssl/test/dh1024.pem" >>dh-file
|
2008-06-27 20:26:36 -04:00
|
|
|
"password" >>password
|
|
|
|
[ ] with-secure-context
|
|
|
|
] unit-test
|
2013-10-14 08:45:33 -04:00
|
|
|
|
2015-07-03 12:39:59 -04:00
|
|
|
{ t } [ os windows? ssl-certificate-verification-supported? or ] unit-test
|