diff options
| author | jsing <> | 2014-08-04 16:34:11 +0000 |
|---|---|---|
| committer | jsing <> | 2014-08-04 16:34:11 +0000 |
| commit | 2028c6fe484bd7935589c27ac33254d18b3d9665 (patch) | |
| tree | 4848ccf67641c45f983a73f3f9d5af01efa0e4f2 /src/lib/libressl/ressl.h | |
| parent | 19f39e8125aac8dc8314212b6163391e8d83c7b5 (diff) | |
| download | openbsd-2028c6fe484bd7935589c27ac33254d18b3d9665.tar.gz openbsd-2028c6fe484bd7935589c27ac33254d18b3d9665.tar.bz2 openbsd-2028c6fe484bd7935589c27ac33254d18b3d9665.zip | |
Implement ressl_accept_socket, which allocates a new server connection
context (if necessary) and handles the TLS/SSL handshake over the given
socket.
Diffstat (limited to 'src/lib/libressl/ressl.h')
| -rw-r--r-- | src/lib/libressl/ressl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h index 10e3dc85ed..bfe9b11f7b 100644 --- a/src/lib/libressl/ressl.h +++ b/src/lib/libressl/ressl.h | |||
| @@ -47,8 +47,8 @@ int ressl_configure(struct ressl *ctx, struct ressl_config *config); | |||
| 47 | void ressl_reset(struct ressl *ctx); | 47 | void ressl_reset(struct ressl *ctx); |
| 48 | void ressl_free(struct ressl *ctx); | 48 | void ressl_free(struct ressl *ctx); |
| 49 | 49 | ||
| 50 | int ressl_accept(struct ressl *ctx); | 50 | int ressl_accept(struct ressl *ctx, struct ressl **cctx); |
| 51 | int ressl_accept_socket(struct ressl *ctx, int socket); | 51 | int ressl_accept_socket(struct ressl *ctx, struct ressl **cctx, int socket); |
| 52 | int ressl_connect(struct ressl *ctx, const char *host, const char *port); | 52 | int ressl_connect(struct ressl *ctx, const char *host, const char *port); |
| 53 | int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname); | 53 | int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname); |
| 54 | int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af); | 54 | int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af); |
