projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13be69f
)
Make auto DH work with DHEPSK
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 28 Jun 2015 16:01:52 +0000
(17:01 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 30 Jul 2015 13:43:35 +0000
(14:43 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/t1_lib.c
patch
|
blob
|
history
diff --git
a/ssl/t1_lib.c
b/ssl/t1_lib.c
index a91e152cb965418d79db724b5255b1bcbc94c886..47abf2b9f912112492152b9eeb542e742cbe83fe 100644
(file)
--- a/
ssl/t1_lib.c
+++ b/
ssl/t1_lib.c
@@
-4165,7
+4165,7
@@
DH *ssl_get_auto_dh(SSL *s)
int dh_secbits = 80;
if (s->cert->dh_tmp_auto == 2)
return DH_get_1024_160();
- if (s->s3->tmp.new_cipher->algorithm_auth &
SSL_aNULL
) {
+ if (s->s3->tmp.new_cipher->algorithm_auth &
(SSL_aNULL | SSL_aPSK)
) {
if (s->s3->tmp.new_cipher->strength_bits == 256)
dh_secbits = 128;
else