diff options
| author | tb <> | 2026-07-29 02:27:31 +0000 |
|---|---|---|
| committer | tb <> | 2026-07-29 02:27:31 +0000 |
| commit | 3d5c26fca686ebb3960c3fa26ceab85b5a95c559 (patch) | |
| tree | 3128ac2b7d8f983604e73f1702aa3d188864113e /src | |
| parent | 2f243964bad8ba751fc309a09e4a36b2bcc00e79 (diff) | |
| download | openbsd-3d5c26fca686ebb3960c3fa26ceab85b5a95c559.tar.gz openbsd-3d5c26fca686ebb3960c3fa26ceab85b5a95c559.tar.bz2 openbsd-3d5c26fca686ebb3960c3fa26ceab85b5a95c559.zip | |
ocspcheck: make validate_response() static, it's only used in this file
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.sbin/ocspcheck/ocspcheck.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
| 1 | /* $OpenBSD: ocspcheck.c,v 1.34 2024/12/04 07:58:51 tb Exp $ */ | 1 | /* $OpenBSD: ocspcheck.c,v 1.35 2026/07/29 02:27:31 tb Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2017,2020 Bob Beck <beck@openbsd.org> | 4 | * Copyright (c) 2017,2020 Bob Beck <beck@openbsd.org> |
| @@ -399,8 +399,7 @@ ocsp_request_new_from_cert(const char *cadir, char *file, int nonce) | |||
| 399 | return NULL; | 399 | return NULL; |
| 400 | } | 400 | } |
| 401 | 401 | ||
| 402 | 402 | static int | |
| 403 | int | ||
| 404 | validate_response(char *buf, size_t size, ocsp_request *request, | 403 | validate_response(char *buf, size_t size, ocsp_request *request, |
| 405 | X509_STORE *store, char *host, char *file) | 404 | X509_STORE *store, char *host, char *file) |
| 406 | { | 405 | { |
