summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguenther <>2016-11-04 18:33:11 +0000
committerguenther <>2016-11-04 18:33:11 +0000
commit817ad1345229aa439c24508d4db10738c0825797 (patch)
tree93b075bad2df4dc862badcd998b53b2130d65575 /src
parentf06dead3f809a0ce64ffcb747a5c257c1f5b3af5 (diff)
downloadopenbsd-817ad1345229aa439c24508d4db10738c0825797.tar.gz
openbsd-817ad1345229aa439c24508d4db10738c0825797.tar.bz2
openbsd-817ad1345229aa439c24508d4db10738c0825797.zip
Mark a couple local functions as static
ok jsing@ beck@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/d1_lib.c4
-rw-r--r--src/lib/libssl/s23_srvr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c
index 23a7021d35..56c79f30aa 100644
--- a/src/lib/libssl/d1_lib.c
+++ b/src/lib/libssl/d1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_lib.c,v 1.33 2016/02/29 06:48:03 mmcc Exp $ */ 1/* $OpenBSD: d1_lib.c,v 1.34 2016/11/04 18:33:11 guenther Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -70,7 +70,7 @@
70#include "pqueue.h" 70#include "pqueue.h"
71#include "ssl_locl.h" 71#include "ssl_locl.h"
72 72
73int dtls1_listen(SSL *s, struct sockaddr *client); 73static int dtls1_listen(SSL *s, struct sockaddr *client);
74 74
75SSL3_ENC_METHOD DTLSv1_enc_data = { 75SSL3_ENC_METHOD DTLSv1_enc_data = {
76 .enc = dtls1_enc, 76 .enc = dtls1_enc,
diff --git a/src/lib/libssl/s23_srvr.c b/src/lib/libssl/s23_srvr.c
index ed476c70d1..edb1f637ea 100644
--- a/src/lib/libssl/s23_srvr.c
+++ b/src/lib/libssl/s23_srvr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s23_srvr.c,v 1.47 2016/07/16 04:42:35 beck Exp $ */ 1/* $OpenBSD: s23_srvr.c,v 1.48 2016/11/04 18:33:11 guenther Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -117,7 +117,7 @@
117#include <openssl/evp.h> 117#include <openssl/evp.h>
118#include <openssl/objects.h> 118#include <openssl/objects.h>
119 119
120int ssl23_get_client_hello(SSL *s); 120static int ssl23_get_client_hello(SSL *s);
121 121
122int 122int
123ssl23_accept(SSL *s) 123ssl23_accept(SSL *s)