11cb0ef41Sopenharmony_ci/*
21cb0ef41Sopenharmony_ci * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
31cb0ef41Sopenharmony_ci *
41cb0ef41Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License").  You may not use
51cb0ef41Sopenharmony_ci * this file except in compliance with the License.  You can obtain a copy
61cb0ef41Sopenharmony_ci * in the file LICENSE in the source distribution or at
71cb0ef41Sopenharmony_ci * https://www.openssl.org/source/license.html
81cb0ef41Sopenharmony_ci */
91cb0ef41Sopenharmony_ci
101cb0ef41Sopenharmony_ci#include <stdio.h>
111cb0ef41Sopenharmony_ci#include "internal/cryptlib.h"
121cb0ef41Sopenharmony_ci#include <openssl/crypto.h>
131cb0ef41Sopenharmony_ci#include <openssl/x509.h>
141cb0ef41Sopenharmony_ci
151cb0ef41Sopenharmony_ciconst char *X509_get_default_private_dir(void)
161cb0ef41Sopenharmony_ci{
171cb0ef41Sopenharmony_ci    return X509_PRIVATE_DIR;
181cb0ef41Sopenharmony_ci}
191cb0ef41Sopenharmony_ci
201cb0ef41Sopenharmony_ciconst char *X509_get_default_cert_area(void)
211cb0ef41Sopenharmony_ci{
221cb0ef41Sopenharmony_ci    return X509_CERT_AREA;
231cb0ef41Sopenharmony_ci}
241cb0ef41Sopenharmony_ci
251cb0ef41Sopenharmony_ciconst char *X509_get_default_cert_dir(void)
261cb0ef41Sopenharmony_ci{
271cb0ef41Sopenharmony_ci    return X509_CERT_DIR;
281cb0ef41Sopenharmony_ci}
291cb0ef41Sopenharmony_ci
301cb0ef41Sopenharmony_ciconst char *X509_get_default_cert_file(void)
311cb0ef41Sopenharmony_ci{
321cb0ef41Sopenharmony_ci    return X509_CERT_FILE;
331cb0ef41Sopenharmony_ci}
341cb0ef41Sopenharmony_ci
351cb0ef41Sopenharmony_ciconst char *X509_get_default_cert_dir_env(void)
361cb0ef41Sopenharmony_ci{
371cb0ef41Sopenharmony_ci    return X509_CERT_DIR_EVP;
381cb0ef41Sopenharmony_ci}
391cb0ef41Sopenharmony_ci
401cb0ef41Sopenharmony_ciconst char *X509_get_default_cert_file_env(void)
411cb0ef41Sopenharmony_ci{
421cb0ef41Sopenharmony_ci    return X509_CERT_FILE_EVP;
431cb0ef41Sopenharmony_ci}
44