diff options
author | David Benjamin <davidben@chromium.org> | 2014-10-22 06:00:19 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-10-24 06:01:33 +0400 |
commit | 9f2c0d7a946ccf1159a1456cb7a5fa816de09284 (patch) | |
tree | c338721670ebee77df1c9513ea312d0b29e1bd47 /ssl/s3_srvr.c | |
parent | 2a39eaeec7602034fcca6b6112369274cca8454b (diff) |
Remove T** parameter to ssl_bytes_to_cipher_list.
There's only one caller and it doesn't use that feature. While I'm here, tidy
that function a little. Don't bother passing FALLBACK_SCSV into
ssl3_get_cipher_by_value.
Change-Id: Ie71298aeaaab6e24401e0a6c2c0d2281caa93ba4
Reviewed-on: https://boringssl-review.googlesource.com/2030
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 149d9e7b..0fac30ea 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -993,7 +993,8 @@ int ssl3_get_client_hello(SSL *s) goto f_err; } - if (ssl_bytes_to_cipher_list(s, &cipher_suites, &ciphers) == NULL) + ciphers = ssl_bytes_to_cipher_list(s, &cipher_suites); + if (ciphers == NULL) { goto err; } |