Updated 32bit libraries and typo
This commit is contained in:
parent
7c9a610f47
commit
50a09dfe02
1 changed files with 8 additions and 6 deletions
6
ltls.pbi
6
ltls.pbi
|
@ -63,7 +63,6 @@ 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
|
||||||
|
|
||||||
|
@ -80,14 +79,17 @@ Module ltls
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
CompilerElse
|
CompilerElse
|
||||||
|
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.22")
|
||||||
|
If Not IsLibrary(libressl_tls)
|
||||||
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
|
Define libressl_tls = OpenLibrary(#PB_Any, "/usr/lib/libtls.so.20")
|
||||||
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.17")
|
||||||
If Not IsLibrary(libressl_tls)
|
If Not IsLibrary(libressl_tls)
|
||||||
lhs_log::Out("Library not found: /usr/lib/libtls.so.20 or .17")
|
lhs_log::Out("Library not found: /usr/lib/libtls.so.22 or .20 or .17")
|
||||||
End
|
End
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
EndIf
|
||||||
CompilerEndIf
|
CompilerEndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue