diff options
author | jsing <> | 2014-08-04 16:18:42 +0000 |
---|---|---|
committer | jsing <> | 2014-08-04 16:18:42 +0000 |
commit | 3eb7cc8fc384f98d85b9a9530d417018a6942a74 (patch) | |
tree | 27862ac7cadb44f277ca910c18c9293337888dd7 /src/lib/libressl/ressl.c | |
parent | f98c1e26ee0861d9feef350c2d0c1147a9d20a2e (diff) | |
download | openbsd-3eb7cc8fc384f98d85b9a9530d417018a6942a74.tar.gz openbsd-3eb7cc8fc384f98d85b9a9530d417018a6942a74.tar.bz2 openbsd-3eb7cc8fc384f98d85b9a9530d417018a6942a74.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 | ||