Updated 32bit libraries and typo
This commit is contained in:
parent
7c9a610f47
commit
50a09dfe02
1 changed files with 8 additions and 6 deletions
14
ltls.pbi
14
ltls.pbi
|
@ -63,8 +63,7 @@ Module ltls
|
||||||
PrototypeC.i Pr_tls_free(*ctx)
|
PrototypeC.i Pr_tls_free(*ctx)
|
||||||
PrototypeC.i Pr_tls_config_free(*cfg)
|
PrototypeC.i Pr_tls_config_free(*cfg)
|
||||||
|
|
||||||
|
#TLS_WANT_POLLIN = -2
|
||||||
#TLS_WANT_POLLIN = -2
|
|
||||||
#TLS_WANT_POLLOUT = -3
|
#TLS_WANT_POLLOUT = -3
|
||||||
|
|
||||||
CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
|
CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
|
||||||
|
@ -80,12 +79,15 @@ Module ltls
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
CompilerElse
|
CompilerElse
|
||||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
|
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.22")
|
||||||
If Not IsLibrary(libressl_tls)
|
If Not IsLibrary(libressl_tls)
|
||||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.17")
|
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
|
||||||
If Not IsLibrary(libressl_tls)
|
If Not IsLibrary(libressl_tls)
|
||||||
lhs_log::Out("Library not found: /usr/lib/libtls.so.20 or .17")
|
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.17")
|
||||||
End
|
If Not IsLibrary(libressl_tls)
|
||||||
|
lhs_log::Out("Library not found: /usr/lib/libtls.so.22 or .20 or .17")
|
||||||
|
End
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
CompilerEndIf
|
CompilerEndIf
|
||||||
|
|
Loading…
Reference in a new issue