diff options
| author | jsing <> | 2014-09-07 12:16:23 +0000 |
|---|---|---|
| committer | jsing <> | 2014-09-07 12:16:23 +0000 |
| commit | 18d160fc11609bddd53c5efcc2c7dad2ce507e5f (patch) | |
| tree | 05653f416e3e348af48f738c0cc7f45d8437ec05 /src/lib/libssl/s3_lib.c | |
| parent | 18422c6ed17a6afacad5d41c8f6bc9114bb90018 (diff) | |
| download | openbsd-18d160fc11609bddd53c5efcc2c7dad2ce507e5f.tar.gz openbsd-18d160fc11609bddd53c5efcc2c7dad2ce507e5f.tar.bz2 openbsd-18d160fc11609bddd53c5efcc2c7dad2ce507e5f.zip | |
Remove SSL_kDHr, SSL_kDHd and SSL_aDH. No supported ciphersuites use them,
nor do we plan on supporting them.
ok guenther@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
| -rw-r--r-- | src/lib/libssl/s3_lib.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index 8d03512a26..d8b923afd4 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_lib.c,v 1.79 2014/08/24 14:36:45 jsing Exp $ */ | 1 | /* $OpenBSD: s3_lib.c,v 1.80 2014/09/07 12:16:23 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -2610,12 +2610,11 @@ ssl3_get_req_cert_type(SSL *s, unsigned char *p) | |||
| 2610 | } | 2610 | } |
| 2611 | #endif | 2611 | #endif |
| 2612 | 2612 | ||
| 2613 | if (alg_k & (SSL_kDHr|SSL_kDHE)) { | 2613 | if (alg_k & SSL_kDHE) { |
| 2614 | p[ret++] = SSL3_CT_RSA_FIXED_DH; | 2614 | p[ret++] = SSL3_CT_RSA_FIXED_DH; |
| 2615 | p[ret++] = SSL3_CT_DSS_FIXED_DH; | 2615 | p[ret++] = SSL3_CT_DSS_FIXED_DH; |
| 2616 | } | 2616 | } |
| 2617 | if ((s->version == SSL3_VERSION) && | 2617 | if (s->version == SSL3_VERSION && (alg_k & SSL_kDHE)) { |
| 2618 | (alg_k & (SSL_kDHE|SSL_kDHd|SSL_kDHr))) { | ||
| 2619 | p[ret++] = SSL3_CT_RSA_EPHEMERAL_DH; | 2618 | p[ret++] = SSL3_CT_RSA_EPHEMERAL_DH; |
| 2620 | p[ret++] = SSL3_CT_DSS_EPHEMERAL_DH; | 2619 | p[ret++] = SSL3_CT_DSS_EPHEMERAL_DH; |
| 2621 | } | 2620 | } |
