| Libtrap: Internal development docs
    1.16.1
    | 
|   | 
| Modules | |
| TLS Output IFC | |
| TLS Input IFC | |
| Data Structures | |
| union | tls_socket_addr | 
| Macros | |
| #define | MAX_RECOVERY_TRY 10 | 
| #define | RECOVERY_WAIT_USEC 500000 | 
| #define | USEC_IN_SEC 1000000 | 
| #define | ACK_MESS_SIZE 1 | 
| #define | CRIT_1VS2SEND 10000 | 
| #define | MAX(a, b) ((a)<(b)?(b):(a)) | 
| #define | MIN(a, b) ((a)>(b)?(b):(a)) | 
| Functions | |
| static SSL_CTX * | tlsserver_create_context () | 
| static SSL_CTX * | tlsclient_create_context () | 
| static int | verify_certificate (SSL *arg) | 
| Verify context of ssl.  More... | |
| static int | tls_server_configure_ctx (const char *cert, SSL_CTX *ctx) | 
| Configure context of ssl server.  More... | |
| static int | tls_configure_ctx (SSL_CTX *ctx, const char *key, const char *crt, const char *ca) | 
| Configure ssl context of new connection.  More... | |
| static void * | get_in_addr (struct sockaddr *sa) | 
| Get sockaddr, IPv4 or IPv6.  More... | |
| 
 | static | 
| 
 | static | 
Configure ssl context of new connection.
| [in] | ctx | ssl context to be configured | 
| [in] | key | path to keyfile | 
| [in] | crt | path to certfile | 
| [in] | ca | path to CA file | 
| 
 | static | 
| 
 | static | 
Verify context of ssl.
| [in] | arg | pointer to SSL (usually stored in tls_receiver_private_t resp. in an array of tlsclient_s inside tls_sender_private_t for input resp. output IFC) | 
 1.8.14
 1.8.14