ota: Merge 20240728 (bsd-feature) from ota 3319c34a8713
[freebsd/src.git] / crypto / openssl / include / internal / conf.h
blob8c6c29cd2c5f6e894b2cffc8f531f80dd2e95706
1 /*
2 * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
10 #ifndef OSSL_INTERNAL_CONF_H
11 # define OSSL_INTERNAL_CONF_H
12 # pragma once
14 # include <openssl/conf.h>
16 # define DEFAULT_CONF_MFLAGS \
17 (CONF_MFLAGS_DEFAULT_SECTION | \
18 CONF_MFLAGS_IGNORE_MISSING_FILE | \
19 CONF_MFLAGS_IGNORE_RETURN_CODES)
21 struct ossl_init_settings_st {
22 char *filename;
23 char *appname;
24 unsigned long flags;
27 int ossl_config_int(const OPENSSL_INIT_SETTINGS *);
28 void ossl_no_config_int(void);
29 void ossl_config_modules_free(void);
31 #endif