blob: 804a03d2024ede4d65be6d702cbb1a65811f6364 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001PRELIMINARY
2SYNOPSIS
3 int tls_available()
4
5DESCRIPTION
6 If the global TLS initialisation could not been set up,
7 tls_is_available() returns 0, otherwise 1.
8 It is not very useful calling any other tls_*-efun if this one
9 returns 0, since there is no TLS-encryption available.
10 Most likely the global initialisation fails due to missing or
11 unreadable key resp. certificate-file.
12
13HISTORY
14 Introduced in LDMud 3.3.474 and following, backported to 3.2.11.
15
16SEE ALSO
17 tls_init_connection(E), tls_deinit_connection(E),
18 tls_query_connection_state(E), tls_query_connection_info(E),
19 tls_check_certificate(E), tls_refresh_certs(E)