Lines Matching defs:include
12 #include <stdio.h>
13 #include <string.h>
14 #include "e_os.h" /* struct stat */
16 # include <sys/types.h> /* needed for stat.h */
17 # include <sys/stat.h> /* struct stat */
19 #include "internal/cryptlib.h"
20 #include "internal/o_dir.h"
21 #include <openssl/lhash.h>
22 #include <openssl/conf.h>
23 #include <openssl/conf_api.h>
24 #include "conf_local.h"
25 #include "conf_def.h"
26 #include <openssl/buffer.h>
27 #include <openssl/err.h>
29 # include <sys/stat.h>
55 static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx,
441 } else if (strncmp(pname, ".include", 8) == 0
443 char *include = NULL;
450 * The include processing below can cause the "conf" fuzzer to
470 if (!str_copy(conf, psection, &include, p))
473 if (include_dir != NULL && !ossl_is_absolute_path(include)) {
474 size_t newlen = strlen(include_dir) + strlen(include) + 2;
479 OPENSSL_free(include);
486 OPENSSL_strlcat(include_path, include, newlen);
487 OPENSSL_free(include);
489 include_path = include;
503 /* dirpath will contain include in case of a directory */
813 * also an opened directory context and the include path.
815 static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx,
821 if (stat(include, &st) < 0) {
822 ERR_raise_data(ERR_LIB_SYS, errno, "calling stat(%s)", include);
823 /* missing include file is not fatal error */
830 "%s", include);
834 if ((next = get_next_file(include, dirctx)) != NULL)
835 *dirpath = include;
839 next = BIO_new_file(include, "r");