MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | PRELIMINARY |
| 2 | SYNOPSIS |
| 3 | int tls_available() |
| 4 | |
| 5 | DESCRIPTION |
| 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 | |
| 13 | HISTORY |
| 14 | Introduced in LDMud 3.3.474 and following, backported to 3.2.11. |
| 15 | |
| 16 | SEE 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) |