Re: [Videlibri-xidel] OpenSSL certificates check
Client for public libraries
Brought to you by:
benibela
|
From: Reino W. <rwi...@xs...> - 2020-12-30 00:17:08
|
Hello Benito, On 2020-12-27T16:11:44+0100, Benito van der Zander <be...@be...> wrote: > Anyways, you could ask FreePascal about MbedTLS I like MbedTLS because it's much smaller in size. Unlike GnuTLS it has no dependencies and unlike OpenSSL it compiles much faster. Maybe I'll ask FreePascal one day. Thanks. > Why would the certificate file be in %PATH%? There should only be executables in it I didn't know %PATH% was only meant for executables. Please ignore then. > I have stopped buying new things 10 years ago > > But I borrowed a new laptop from my university, really powerful with i7-10750H and RTX 2060 For a laptop you're allowed to borrow those are really powerful specs indeed! ;) > ...Although now I copied basically the entire OpenSSL initialization from Synapse to Xidel/Internet Tools, because you could not enable host name verification with Synapse's API. > [...] > Github is updated when I update it manually Yeah, but only on SourceForge. There's no import/synapse dir in https://github.com/benibela/internettools, or a separate repo. I noticed this while compiling Xidel from your Github repos, instead of https://sourceforge.net/p/videlibri/code/ which I used until now to compile Xidel. My initial workflow was: git clone https://github.com/benibela/xidel.git xidel_git git clone https://github.com/benibela/internettools.git internettools_git git clone https://github.com/benibela/flre.git flre_git git clone https://github.com/benibela/rcmdline.git rcmdline_git svn checkout https://svn.code.sf.net/p/synalist/code/trunk synapse_svn fpc.exe -O3 -Cort -CX -XX -Xs -dUSE_SYNAPSE_WRAPPER -Fu..\internettools_git\internet -Fu..\internettools_git\data -Fi..\internettools_git\data -Fu..\flre_git\src -Fu..\rcmdline_git -Fu..\synapse_svn -Fi..\synapse_svn xidel.pas I quickly realized though that synapse_svn was really old and the resulting Xidel binary couldn't open/find the OpenSSL 1.1.1 dlls. I also realized you've made quite some changes to https://sourceforge.net/p/videlibri/code/ci/tip/tree/components/pascal/import/synapse/ and that it's the one to use for Xidel. So... hg clone http://hg.code.sf.net/p/videlibri/code videlibri-code_hg fpc.exe -O3 -Cort -CX -XX -Xs -dUSE_SYNAPSE_WRAPPER -Fu..\internettools_git\internet -Fu..\internettools_git\data -Fi..\internettools_git\data -Fu..\flre_git\src -Fu..\rcmdline_git -Fu..\videlibri-code_hg\components\pascal\import\synapse -Fi..\videlibri-code_hg\components\pascal\import\synapse xidel.pas But trying to move away from SourceForge this obviously wasn't my intention. Could you copy the "Synapse OpenSSL initialization" to Github as well? Btw, just for your information, I compiled Xidel with... $ echo -e "writeln('$(git describe --tags | sed 's/_/ /;s/g//') (OpenSSL)');\nwriteln('($(cd ../internettools_git && git describe --tags | sed 's/_/ /;s/g//'))');" > xidelbuilddata.inc $ xidel --version Xidel 0.9.8-63-6593f17 (OpenSSL) (VIDELIBRI 2.180-131-2a89814) http://www.videlibri.de/xidel.html by Benito van der Zander <be...@be...> Looks really nice if you ask me. -- Reino |