summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/by_file.c
diff options
context:
space:
mode:
authortb <>2021-11-01 20:53:08 +0000
committertb <>2021-11-01 20:53:08 +0000
commitf478d62658b61e2242dbf3575bf454f8c0f432b1 (patch)
treecbf2de4e6ef2a9e9d9281e6e60c30149cd648fd1 /src/lib/libcrypto/x509/by_file.c
parentb5a22e689a6f2534ae4b6d7fe4bf885792892295 (diff)
downloadopenbsd-f478d62658b61e2242dbf3575bf454f8c0f432b1.tar.gz
openbsd-f478d62658b61e2242dbf3575bf454f8c0f432b1.tar.bz2
openbsd-f478d62658b61e2242dbf3575bf454f8c0f432b1.zip
Move the now internal X.509-related structs into x509_lcl.h.
Garbage collect the now unused LIBRESSL_CRYPTO_INTERNAL and LIBRESSL_OPAQUE_X509. Include "x509_lcl.h" where needed and fix a couple of unnecessary reacharounds. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/by_file.c')
-rw-r--r--src/lib/libcrypto/x509/by_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/by_file.c b/src/lib/libcrypto/x509/by_file.c
index b2c8ef6cfa..f719636412 100644
--- a/src/lib/libcrypto/x509/by_file.c
+++ b/src/lib/libcrypto/x509/by_file.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: by_file.c,v 1.21 2017/01/29 17:49:23 beck Exp $ */ 1/* $OpenBSD: by_file.c,v 1.22 2021/11/01 20:53:08 tb 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 *
@@ -67,6 +67,8 @@
67#include <openssl/lhash.h> 67#include <openssl/lhash.h>
68#include <openssl/x509.h> 68#include <openssl/x509.h>
69 69
70#include "x509_lcl.h"
71
70static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, 72static int by_file_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc,
71 long argl, char **ret); 73 long argl, char **ret);
72 74