Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-12-11 09:20:52 +0300
committerAdam Langley <agl@google.com>2014-12-14 01:28:58 +0300
commit338fcafe763be2ba6e65f00e6a8c9b820e530fcc (patch)
tree399f6c361097f30c6822222b34dfaa8fd3216105 /ssl/s3_lib.c
parentf080ecd86d053a4c6961cd0a00423972752eb796 (diff)
Mark SSL3_ENC_METHODs const and remove an unused one.
There's an undefined one not used anywhere. The others ought to be const. Also move the forward declaration to ssl.h so we don't have to use the struct name. Change-Id: I76684cf65255535c677ec19154cac74317c289ba Reviewed-on: https://boringssl-review.googlesource.com/2561 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index ad09cd25..0898ac31 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -924,7 +924,7 @@ const SSL_CIPHER ssl3_ciphers[]={
/* end of list */
};
-SSL3_ENC_METHOD SSLv3_enc_data={
+const SSL3_ENC_METHOD SSLv3_enc_data = {
ssl3_enc,
n_ssl3_mac,
ssl3_setup_key_block,