From: jsing Date: Mon, 27 Aug 2018 16:48:12 +0000 (+0000) Subject: Add some missing statics. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2ddd511d3d48106e32384b1be7cc7e1fca3fa4b4;p=openbsd Add some missing statics. --- diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index 1d8eff9fb6f..6e12bf95032 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.168 2018/08/24 17:30:32 jsing Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.169 2018/08/27 16:48:12 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2082,14 +2082,14 @@ _SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *cert) return 1; } -int +static int _SSL_CTX_get_extra_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **certs) { *certs = ctx->extra_certs; return 1; } -int +static int _SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx) { sk_X509_pop_free(ctx->extra_certs, X509_free); diff --git a/lib/libssl/ssl_srvr.c b/lib/libssl/ssl_srvr.c index b099fdb8b18..b2314d5bbe7 100644 --- a/lib/libssl/ssl_srvr.c +++ b/lib/libssl/ssl_srvr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_srvr.c,v 1.46 2018/08/27 16:42:48 jsing Exp $ */ +/* $OpenBSD: ssl_srvr.c,v 1.47 2018/08/27 16:48:12 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1270,7 +1270,7 @@ ssl3_send_server_done(SSL *s) return (-1); } -int +static int ssl3_send_server_kex_dhe(SSL *s, CBB *cbb) { CBB dh_p, dh_g, dh_Ys;