diff options
author | guenther <> | 2016-11-04 18:33:11 +0000 |
---|---|---|
committer | guenther <> | 2016-11-04 18:33:11 +0000 |
commit | 817ad1345229aa439c24508d4db10738c0825797 (patch) | |
tree | 93b075bad2df4dc862badcd998b53b2130d65575 /src | |
parent | f06dead3f809a0ce64ffcb747a5c257c1f5b3af5 (diff) | |
download | openbsd-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.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/s23_srvr.c | 4 |
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 | ||
73 | int dtls1_listen(SSL *s, struct sockaddr *client); | 73 | static int dtls1_listen(SSL *s, struct sockaddr *client); |
74 | 74 | ||
75 | SSL3_ENC_METHOD DTLSv1_enc_data = { | 75 | SSL3_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 | ||
120 | int ssl23_get_client_hello(SSL *s); | 120 | static int ssl23_get_client_hello(SSL *s); |
121 | 121 | ||
122 | int | 122 | int |
123 | ssl23_accept(SSL *s) | 123 | ssl23_accept(SSL *s) |