diff options
Diffstat (limited to 'src/lib/libressl/ressl_server.c')
| -rw-r--r-- | src/lib/libressl/ressl_server.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libressl/ressl_server.c b/src/lib/libressl/ressl_server.c index e2dc7cf088..33ac8fc33d 100644 --- a/src/lib/libressl/ressl_server.c +++ b/src/lib/libressl/ressl_server.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ressl_server.c,v 1.8 2014/09/29 15:11:29 jsing Exp $ */ | 1 | /* $OpenBSD: ressl_server.c,v 1.9 2014/09/29 15:31:38 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -62,14 +62,6 @@ ressl_configure_server(struct ressl *ctx) | |||
| 62 | if (ressl_configure_keypair(ctx) != 0) | 62 | if (ressl_configure_keypair(ctx) != 0) |
| 63 | goto err; | 63 | goto err; |
| 64 | 64 | ||
| 65 | if (ctx->config->ciphers != NULL) { | ||
| 66 | if (SSL_CTX_set_cipher_list(ctx->ssl_ctx, | ||
| 67 | ctx->config->ciphers) != 1) { | ||
| 68 | ressl_set_error(ctx, "failed to set ciphers"); | ||
| 69 | goto err; | ||
| 70 | } | ||
| 71 | } | ||
| 72 | |||
| 73 | if (ctx->config->ecdhcurve != NID_undef) { | 65 | if (ctx->config->ecdhcurve != NID_undef) { |
| 74 | if ((ecdh_key = EC_KEY_new_by_curve_name( | 66 | if ((ecdh_key = EC_KEY_new_by_curve_name( |
| 75 | ctx->config->ecdhcurve)) == NULL) { | 67 | ctx->config->ecdhcurve)) == NULL) { |
