diff options
author | David Benjamin <davidben@chromium.org> | 2014-09-03 07:18:44 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-10-01 02:57:53 +0400 |
commit | 42e9a77c43580e6c4afa9972d37d8bd129e8f1f0 (patch) | |
tree | e82dec59687dcf6198277daf9a8bd17ba6e220b1 /ssl/s3_lib.c | |
parent | 00075b80ca468c82c5e805cd6abb517ae4567ba1 (diff) |
Split tls1_check_ec_key.
This avoids the strange optional parameter thing by moving it to the client.
Also document what the functions should do.
Change-Id: I361266acadedfd2bfc4731f0900821fc2c2f954d
Reviewed-on: https://boringssl-review.googlesource.com/1843
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 5a1b48da..73c0e081 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -1871,7 +1871,7 @@ const SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, /* if we are considering an ECC cipher suite that uses * an ephemeral EC key check it */ if (alg_k & SSL_kEECDH) - ok = ok && tls1_check_ec_tmp_key(s, c->id); + ok = ok && tls1_check_ec_tmp_key(s); if (ok && sk_SSL_CIPHER_find(allow, &cipher_index, c)) { |