factor/basis/openssl/openssl-tests.factor

15 lines
339 B
Factor
Raw Normal View History

USING: accessors io.sockets.secure io.sockets.secure.debug namespaces
openssl tools.test ;
2008-05-11 18:41:54 -04:00
2008-05-18 20:08:56 -04:00
openssl secure-socket-backend [
{ } [
<test-secure-config>
2008-05-18 20:08:56 -04:00
[ ] with-secure-context
2008-05-11 18:41:54 -04:00
] unit-test
[
<test-secure-config> "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