fix unix bootstrap
[factor/jcg.git] / basis / io / sockets / secure / secure-tests.factor
blob557bba52d267c66b71fb86a05cdfcfbccf1b4aee
1 IN: io.sockets.secure.tests
2 USING: accessors kernel io.sockets io.sockets.secure tools.test ;
4 [ "hello" 24 ] [ "hello" 24 <inet> <secure> [ host>> ] [ port>> ] bi ] unit-test
6 [ ] [
7     <secure-config>
8         "resource:basis/openssl/test/server.pem" >>key-file
9         "resource:basis/openssl/test/dh1024.pem" >>dh-file
10         "password" >>password
11     [ ] with-secure-context
12 ] unit-test