mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
606e0426a1
Fixes #18020. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18070)
59 lines
1.1 KiB
C
59 lines
1.1 KiB
C
/*
|
|
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "internal/cryptlib.h"
|
|
#include <openssl/crypto.h>
|
|
#include <openssl/x509.h>
|
|
|
|
const char *X509_get_default_private_dir(void)
|
|
{
|
|
return X509_PRIVATE_DIR;
|
|
}
|
|
|
|
const char *X509_get_default_cert_area(void)
|
|
{
|
|
return X509_CERT_AREA;
|
|
}
|
|
|
|
const char *X509_get_default_cert_uri(void)
|
|
{
|
|
return X509_CERT_URI;
|
|
}
|
|
|
|
const char *X509_get_default_cert_dir(void)
|
|
{
|
|
return X509_CERT_DIR;
|
|
}
|
|
|
|
const char *X509_get_default_cert_file(void)
|
|
{
|
|
return X509_CERT_FILE;
|
|
}
|
|
|
|
const char *X509_get_default_cert_uri_env(void)
|
|
{
|
|
return X509_CERT_URI_EVP;
|
|
}
|
|
|
|
const char *X509_get_default_cert_path_env(void)
|
|
{
|
|
return X509_CERT_PATH_EVP;
|
|
}
|
|
|
|
const char *X509_get_default_cert_dir_env(void)
|
|
{
|
|
return X509_CERT_DIR_EVP;
|
|
}
|
|
|
|
const char *X509_get_default_cert_file_env(void)
|
|
{
|
|
return X509_CERT_FILE_EVP;
|
|
}
|