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>
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index dbaadf2..c8a4fea 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -124,7 +124,7 @@
 static int ssl_check_clienthello_tlsext(SSL *s);
 static int ssl_check_serverhello_tlsext(SSL *s);
 
-SSL3_ENC_METHOD TLSv1_enc_data={
+const SSL3_ENC_METHOD TLSv1_enc_data = {
 	tls1_enc,
 	tls1_mac,
 	tls1_setup_key_block,
@@ -144,7 +144,7 @@
 	ssl3_add_to_finished_hash,
 	};
 
-SSL3_ENC_METHOD TLSv1_1_enc_data={
+const SSL3_ENC_METHOD TLSv1_1_enc_data = {
 	tls1_enc,
 	tls1_mac,
 	tls1_setup_key_block,
@@ -164,7 +164,7 @@
 	ssl3_add_to_finished_hash,
 	};
 
-SSL3_ENC_METHOD TLSv1_2_enc_data={
+const SSL3_ENC_METHOD TLSv1_2_enc_data = {
 	tls1_enc,
 	tls1_mac,
 	tls1_setup_key_block,