openssl.libssl: fix tc that breaks if sslv2 is disabled
parent
a6544c0acb
commit
d4528c36da
|
@ -28,8 +28,13 @@ IN: openssl.libssl.tests
|
||||||
: new-ssl ( -- ssl )
|
: new-ssl ( -- ssl )
|
||||||
new-ctx SSL_new ;
|
new-ctx SSL_new ;
|
||||||
|
|
||||||
! Test default options
|
! Test default options. Some Linuxes (Arch) disables SSL_OP_NO_SSLv2
|
||||||
{ { f f f f f } } [ new-ctx all-opts [ has-opt ] with map ] unit-test
|
! 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
|
! Test setting options
|
||||||
{ 5 } [
|
{ 5 } [
|
||||||
|
|
Loading…
Reference in New Issue