Add Version 22 to libtls.so

This commit is contained in:
René Linder 2022-02-14 15:49:50 +01:00
parent c5200f4273
commit 2ce4902b39
2 changed files with 18 additions and 14 deletions

View File

@ -68,12 +68,15 @@ Module ltls
#TLS_WANT_POLLOUT = -3 #TLS_WANT_POLLOUT = -3
CompilerIf #PB_Compiler_Processor = #PB_Processor_x64 CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.20") Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.22")
If Not IsLibrary(libressl_tls) If Not IsLibrary(libressl_tls)
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.17") Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.20")
If Not IsLibrary(libressl_tls) If Not IsLibrary(libressl_tls)
lhs_log::Out("Library not found: /usr/lib64/libtls.so.20 or .17") Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib64/libtls.so.17")
End If Not IsLibrary(libressl_tls)
lhs_log::Out("Library not found: /usr/lib64/libtls.so.22 or .20 or .17")
End
EndIf
EndIf EndIf
EndIf EndIf
CompilerElse CompilerElse

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.purebasic.com/namespace" version="1.0" creator="PureBasic 6.00 Beta 4 (Linux - x64)"> <project xmlns="http://www.purebasic.com/namespace" version="1.0" creator="PureBasic 5.73 LTS (Linux - x64)">
<section name="config"> <section name="config">
<options closefiles="1" openmode="0" name="LiHaSo Webserver Modul"/> <options closefiles="1" openmode="0" name="LiHaSo Webserver Modul"/>
<comment>Projekt ist inklusive Beispiel Code</comment> <comment>Projekt ist inklusive Beispiel Code</comment>
@ -8,7 +8,7 @@
<section name="data"> <section name="data">
<explorer view="../../../bin/purebasic/examples/" pattern="0"/> <explorer view="../../../bin/purebasic/examples/" pattern="0"/>
<log show="1"/> <log show="1"/>
<lastopen date="2022-02-14 14:57" user="renlin" host="renlin-home"/> <lastopen date="2022-02-14 15:46" user="renlin" host="renlin-home"/>
</section> </section>
<section name="files"> <section name="files">
<file name="inc/lweb_file_cache.pbi"> <file name="inc/lweb_file_cache.pbi">
@ -44,12 +44,12 @@
<fingerprint md5="636558037ff2cab03552fb129e2a4f52"/> <fingerprint md5="636558037ff2cab03552fb129e2a4f52"/>
</file> </file>
<file name="lhs_lib/SYS/lhs_log.pbi"> <file name="lhs_lib/SYS/lhs_log.pbi">
<config load="0" scan="1" panel="1" warn="1" lastopen="0" panelstate="+--"/> <config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+--"/>
<fingerprint md5=""/> <fingerprint md5="32e22e56e8803aa600edbd64278972a7"/>
</file> </file>
<file name="lhs_lib/SYS/lhs_log_ext.pbi"> <file name="lhs_lib/SYS/lhs_log_ext.pbi">
<config load="0" scan="1" panel="1" warn="1" lastopen="0" panelstate="+--"/> <config load="0" scan="1" panel="1" warn="1" lastopen="0" panelstate="+--"/>
<fingerprint md5=""/> <fingerprint md5="e71a63777923aebca7171593016d9b8f"/>
</file> </file>
<file name="lhttpd.pb"> <file name="lhttpd.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/> <config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
@ -61,7 +61,7 @@
</file> </file>
<file name="ltls.pbi"> <file name="ltls.pbi">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/> <config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="d29c2b09c5e10cb9f6b8e362a0d32455"/> <fingerprint md5="443cac426bd53aac4104cdc6f875b450"/>
</file> </file>
<file name="lweb.pbi"> <file name="lweb.pbi">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/> <config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
@ -69,7 +69,7 @@
</file> </file>
<file name="lweb_header.pbi"> <file name="lweb_header.pbi">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/> <config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
<fingerprint md5="3dd695c47cc54871a83b04fe07d2fbca"/> <fingerprint md5="fa703de2feac9df61c33b9236e14eb54"/>
</file> </file>
<file name="server_example.pb"> <file name="server_example.pb">
<config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/> <config load="0" scan="1" panel="1" warn="1" lastopen="1" panelstate="+"/>
@ -80,16 +80,17 @@
<target name="Standard-Ziel" enabled="1" default="1"> <target name="Standard-Ziel" enabled="1" default="1">
<inputfile value="server_example.pb"/> <inputfile value="server_example.pb"/>
<outputfile value="server_example"/> <outputfile value="server_example"/>
<compiler version="PureBasic 5.73 LTS (Linux - x64)"/>
<executable value="server_example"/> <executable value="server_example"/>
<options thread="1" xpskin="1" debug="1" optimizer="0"/> <options thread="1" xpskin="1" debug="1"/>
<format exe="console" cpu="0"/> <format exe="console" cpu="0"/>
<debugger custom="1" type="standalone"/> <debugger custom="1" type="ide"/>
</target> </target>
<target name="lhttpd" enabled="1" default="0"> <target name="lhttpd" enabled="1" default="0">
<inputfile value="lhttpd.pb"/> <inputfile value="lhttpd.pb"/>
<outputfile value="lhttpd"/> <outputfile value="lhttpd"/>
<executable value="lhttpd"/> <executable value="lhttpd"/>
<options thread="1" optimizer="0"/> <options thread="1"/>
<debugger custom="1" type="standalone"/> <debugger custom="1" type="standalone"/>
</target> </target>
</section> </section>