USING: accessors io.sockets.secure kernel ;
IN: io.sockets.secure.debug
-
GENERIC: <test-secure-config>* ( obj -- config )
-
-M: TLSv1 <test-secure-config>* ( obj -- config )
+M: TLSv1 <test-secure-config>*
drop <secure-config>
"vocab:openssl/test-1.0/server.pem" >>key-file
"vocab:openssl/test-1.0/dh1024.pem" >>dh-file
"password" >>password ;
-M: object <test-secure-config>* ( obj -- config )
+M: object <test-secure-config>*
drop <secure-config>
"vocab:openssl/test-1.2/server.pem" >>key-file
"vocab:openssl/test-1.2/dh1024.pem" >>dh-file