make check problems

Dmitry Belyavsky <[email protected]> Mon, 24 Jun 2019 14:23:22 +0300
Newsgroups gmane.text.xml.xmlsec
Message-ID <CADqLbzJZBdQ34Sqc11EJFh1dpjk_ZVdJF=8g07TXE7weGqxE=Q@mail.gmail.com>
--===============0488645653==
Content-Type: multipart/alternative; boundary="000000000000e235cf058c100ac0"

--000000000000e235cf058c100ac0
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm building the xmlsec library with custom openssl:

./configure --with-default-crypto=openssl --with-openssl=/opt/cryptopack3
--enable-gost --enable-gost2012 --enable-crypto-dl
make
make check

make check indicates many skipped tests. Detailed diagnostics is the
following:

xmlsec1-1.2.28/apps/xmlsec1 check-transforms  --crypto openssl
--X509-skip-strict-checks --crypto-config /tmp/xmlsec-crypto-config
tripledes-cbc
Error: parameter "--X509-skip-strict-checks" is not supported or the
requested
feature might have been disabled during compilation.
Error: invalid parameters

How do I enable the required option?
In the file apps/xmlsec.c I see that it is enabled when #ifndef
XMLSEC_NO_X509
It should be enabled by default, but it is not.

What's wrong with my build?
Thank you!

-- 
SY, Dmitry Belyavsky

--000000000000e235cf058c100ac0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I&#39;m building the xmlsec libr=
ary with custom openssl:</div><div><br clear=3D"all"><div>./configure --wit=
h-default-crypto=3Dopenssl --with-openssl=3D/opt/cryptopack3 --enable-gost =
--enable-gost2012 --enable-crypto-dl<br></div><div>make</div><div>make chec=
k</div><div><br></div><div>make check indicates many skipped tests. Detaile=
d diagnostics is the following:</div><div><br></div><div>xmlsec1-1.2.28/app=
s/xmlsec1 check-transforms =C2=A0--crypto openssl --X509-skip-strict-checks=
 --crypto-config /tmp/xmlsec-crypto-config tripledes-cbc<br>Error: paramete=
r &quot;--X509-skip-strict-checks&quot; is not supported or the requested<b=
r>feature might have been disabled during compilation.<br>Error: invalid pa=
rameters<br></div><div><br></div><div>How do I enable the required option?=
=C2=A0</div><div>In the file apps/xmlsec.c I see that it is enabled when #i=
fndef XMLSEC_NO_X509=C2=A0</div><div>It should be enabled by default, but i=
t is not.</div><div><br></div><div>What&#39;s wrong with my build?</div><di=
v>Thank you!</div><div><br></div>-- <br><div dir=3D"ltr" class=3D"gmail_sig=
nature" data-smartmail=3D"gmail_signature">SY, Dmitry Belyavsky</div></div>=
</div>

--000000000000e235cf058c100ac0--

--===============0488645653==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KeG1sc2VjIG1h
aWxpbmcgbGlzdAp4bWxzZWNAYWxla3NleS5jb20KaHR0cDovL3d3dy5hbGVrc2V5LmNvbS9tYWls
bWFuL2xpc3RpbmZvL3htbHNlYwo=

--===============0488645653==--