definition of wrappers around OpenSSL functions
More...
#include <openssl/ssl.h>
#include <time.h>
Go to the source code of this file.
definition of wrappers around OpenSSL functions
| int ssl_timeoutaccept |
( |
time_t |
t | ) |
|
accept the request for SSL
- Parameters
-
- Returns
- if the call was successful
- Return values
-
| 0 | the call was successful |
| <0 | error code |
| int ssl_timeoutconn |
( |
time_t |
t | ) |
|
establish SSL protocol to remote host
- Parameters
-
- Returns
- if the call was successful
- Return values
-
| 0 | the call was successful |
| <0 | error code |
| int ssl_timeoutrehandshake |
( |
time_t |
t | ) |
|
do a new SSL handshake
- Parameters
-
- Returns
- if handshake was successful
- Return values
-
| >0 | handshake was successful |
| <0 | error code |
| int ssl_timeoutwrite |
( |
time_t |
t, |
|
|
const char * |
buf, |
|
|
const int |
len |
|
) |
| |
|
inline |
write data SSL encrypted to network
- Parameters
-
| t | timeout |
| buf | data to send |
| len | length of buf |
- Returns
- return code of SSL_write