diff options
author | 2016-11-04 18:33:11 +0000 | |
---|---|---|
committer | 2016-11-04 18:33:11 +0000 | |
commit | fca6a006adbb8cc65d92fb240f6908716fb57af0 (patch) | |
tree | ab72bddea4c424a732c3d48539af72f91f0ae56f | |
parent | The *_method_data structures can be static (diff) | |
download | wireguard-openbsd-fca6a006adbb8cc65d92fb240f6908716fb57af0.tar.xz wireguard-openbsd-fca6a006adbb8cc65d92fb240f6908716fb57af0.zip |
Mark a couple local functions as static
ok jsing@ beck@
-rw-r--r-- | lib/libssl/d1_lib.c | 4 | ||||
-rw-r--r-- | lib/libssl/s23_srvr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/d1_lib.c b/lib/libssl/d1_lib.c index 23a7021d356..56c79f30aa8 100644 --- a/lib/libssl/d1_lib.c +++ b/lib/libssl/d1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_lib.c,v 1.33 2016/02/29 06:48:03 mmcc Exp $ */ +/* $OpenBSD: d1_lib.c,v 1.34 2016/11/04 18:33:11 guenther Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -70,7 +70,7 @@ #include "pqueue.h" #include "ssl_locl.h" -int dtls1_listen(SSL *s, struct sockaddr *client); +static int dtls1_listen(SSL *s, struct sockaddr *client); SSL3_ENC_METHOD DTLSv1_enc_data = { .enc = dtls1_enc, diff --git a/lib/libssl/s23_srvr.c b/lib/libssl/s23_srvr.c index ed476c70d16..edb1f637ea0 100644 --- a/lib/libssl/s23_srvr.c +++ b/lib/libssl/s23_srvr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s23_srvr.c,v 1.47 2016/07/16 04:42:35 beck Exp $ */ +/* $OpenBSD: s23_srvr.c,v 1.48 2016/11/04 18:33:11 guenther Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -117,7 +117,7 @@ #include <openssl/evp.h> #include <openssl/objects.h> -int ssl23_get_client_hello(SSL *s); +static int ssl23_get_client_hello(SSL *s); int ssl23_accept(SSL *s) |