summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-11-04 18:33:11 +0000
committerguenther <guenther@openbsd.org>2016-11-04 18:33:11 +0000
commitfca6a006adbb8cc65d92fb240f6908716fb57af0 (patch)
treeab72bddea4c424a732c3d48539af72f91f0ae56f
parentThe *_method_data structures can be static (diff)
downloadwireguard-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.c4
-rw-r--r--lib/libssl/s23_srvr.c4
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)