openssl.libssl: fix tc that breaks if sslv2 is disabled

char-rename
Björn Lindqvist 2016-08-16 04:01:08 +02:00
parent a6544c0acb
commit d4528c36da
1 changed files with 7 additions and 2 deletions

View File

@ -28,8 +28,13 @@ IN: openssl.libssl.tests
: new-ssl ( -- ssl )
new-ctx SSL_new ;
! Test default options
{ { f f f f f } } [ new-ctx all-opts [ has-opt ] with map ] unit-test
! Test default options. Some Linuxes (Arch) disables SSL_OP_NO_SSLv2
! by default, so we don't test that option.
{
{ f f f f }
} [
new-ctx all-opts [ has-opt ] with map rest
] unit-test
! Test setting options
{ 5 } [