diff options
author | 2016-11-04 18:30:21 +0000 | |
---|---|---|
committer | 2016-11-04 18:30:21 +0000 | |
commit | c96f6664eef82357fa24e3124b293591475085ef (patch) | |
tree | 73d48006f65dc7a0635c1133e5cfd857917d2927 /lib/libssl/t1_meth.c | |
parent | Add an explict list of exported symbols with just the functions (diff) | |
download | wireguard-openbsd-c96f6664eef82357fa24e3124b293591475085ef.tar.xz wireguard-openbsd-c96f6664eef82357fa24e3124b293591475085ef.zip |
The *_method_data structures can be static
ok jsing@
Diffstat (limited to 'lib/libssl/t1_meth.c')
-rw-r--r-- | lib/libssl/t1_meth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/t1_meth.c b/lib/libssl/t1_meth.c index aea4c04547f..261ab192be3 100644 --- a/lib/libssl/t1_meth.c +++ b/lib/libssl/t1_meth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: t1_meth.c,v 1.17 2015/09/11 14:52:17 jsing Exp $ */ +/* $OpenBSD: t1_meth.c,v 1.18 2016/11/04 18:30:21 guenther Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -64,7 +64,7 @@ static const SSL_METHOD *tls1_get_method(int ver); -const SSL_METHOD TLS_method_data = { +static const SSL_METHOD TLS_method_data = { .version = TLS1_2_VERSION, .ssl_new = tls1_new, .ssl_clear = tls1_clear, @@ -96,7 +96,7 @@ const SSL_METHOD TLS_method_data = { .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, }; -const SSL_METHOD TLSv1_method_data = { +static const SSL_METHOD TLSv1_method_data = { .version = TLS1_VERSION, .ssl_new = tls1_new, .ssl_clear = tls1_clear, @@ -128,7 +128,7 @@ const SSL_METHOD TLSv1_method_data = { .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, }; -const SSL_METHOD TLSv1_1_method_data = { +static const SSL_METHOD TLSv1_1_method_data = { .version = TLS1_1_VERSION, .ssl_new = tls1_new, .ssl_clear = tls1_clear, @@ -160,7 +160,7 @@ const SSL_METHOD TLSv1_1_method_data = { .ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl, }; -const SSL_METHOD TLSv1_2_method_data = { +static const SSL_METHOD TLSv1_2_method_data = { .version = TLS1_2_VERSION, .ssl_new = tls1_new, .ssl_clear = tls1_clear, |