diff options
| author | jsing <> | 2014-08-04 16:18:42 +0000 |
|---|---|---|
| committer | jsing <> | 2014-08-04 16:18:42 +0000 |
| commit | bae0ded549246a65bd4f1aa700f406c50e27a5c4 (patch) | |
| tree | 27862ac7cadb44f277ca910c18c9293337888dd7 /src/lib/libressl/ressl.c | |
| parent | 1d3e00084707ca014c8c119ee28744296ad0622d (diff) | |
| download | openbsd-bae0ded549246a65bd4f1aa700f406c50e27a5c4.tar.gz openbsd-bae0ded549246a65bd4f1aa700f406c50e27a5c4.tar.bz2 openbsd-bae0ded549246a65bd4f1aa700f406c50e27a5c4.zip | |
A ressl server needs different configuration from a ressl client - provide
a specific server configuration function and call this from
ressl_configure.
Diffstat (limited to 'src/lib/libressl/ressl.c')
| -rw-r--r-- | src/lib/libressl/ressl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/libressl/ressl.c b/src/lib/libressl/ressl.c index 44a8a19421..439b6d1edd 100644 --- a/src/lib/libressl/ressl.c +++ b/src/lib/libressl/ressl.c | |||
| @@ -87,6 +87,9 @@ ressl_configure(struct ressl *ctx, struct ressl_config *config) | |||
| 87 | 87 | ||
| 88 | ctx->config = config; | 88 | ctx->config = config; |
| 89 | 89 | ||
| 90 | if ((ctx->flags & RESSL_SERVER) != 0) | ||
| 91 | return (ressl_configure_server(ctx)); | ||
| 92 | |||
| 90 | return (0); | 93 | return (0); |
| 91 | } | 94 | } |
| 92 | 95 | ||
