From 3d5c26fca686ebb3960c3fa26ceab85b5a95c559 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 29 Jul 2026 02:27:31 +0000 Subject: ocspcheck: make validate_response() static, it's only used in this file --- src/usr.sbin/ocspcheck/ocspcheck.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/usr.sbin/ocspcheck/ocspcheck.c b/src/usr.sbin/ocspcheck/ocspcheck.c index ae4b8364f6..8d6d30187b 100644 --- a/src/usr.sbin/ocspcheck/ocspcheck.c +++ b/src/usr.sbin/ocspcheck/ocspcheck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocspcheck.c,v 1.34 2024/12/04 07:58:51 tb Exp $ */ +/* $OpenBSD: ocspcheck.c,v 1.35 2026/07/29 02:27:31 tb Exp $ */ /* * Copyright (c) 2017,2020 Bob Beck @@ -399,8 +399,7 @@ ocsp_request_new_from_cert(const char *cadir, char *file, int nonce) return NULL; } - -int +static int validate_response(char *buf, size_t size, ocsp_request *request, X509_STORE *store, char *host, char *file) { -- cgit v1.2.3-55-g6feb