2016-05-18 02:52:22 +08:00
|
|
|
/*
|
|
|
|
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
1998-12-21 18:52:47 +08:00
|
|
|
*
|
2016-05-18 02:52:22 +08:00
|
|
|
* Licensed under the OpenSSL license (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
|
1998-12-21 18:52:47 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2015-05-14 22:56:48 +08:00
|
|
|
#include "internal/cryptlib.h"
|
1999-04-24 06:13:45 +08:00
|
|
|
#include <openssl/crypto.h>
|
|
|
|
#include <openssl/x509.h>
|
1998-12-21 18:52:47 +08:00
|
|
|
|
1999-04-20 05:31:43 +08:00
|
|
|
const char *X509_get_default_private_dir(void)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
return (X509_PRIVATE_DIR);
|
|
|
|
}
|
|
|
|
|
1999-04-20 05:31:43 +08:00
|
|
|
const char *X509_get_default_cert_area(void)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
return (X509_CERT_AREA);
|
|
|
|
}
|
1998-12-21 18:52:47 +08:00
|
|
|
|
1999-04-20 05:31:43 +08:00
|
|
|
const char *X509_get_default_cert_dir(void)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
return (X509_CERT_DIR);
|
|
|
|
}
|
1998-12-21 18:52:47 +08:00
|
|
|
|
1999-04-20 05:31:43 +08:00
|
|
|
const char *X509_get_default_cert_file(void)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
return (X509_CERT_FILE);
|
|
|
|
}
|
1998-12-21 18:52:47 +08:00
|
|
|
|
1999-04-20 05:31:43 +08:00
|
|
|
const char *X509_get_default_cert_dir_env(void)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
return (X509_CERT_DIR_EVP);
|
|
|
|
}
|
1998-12-21 18:52:47 +08:00
|
|
|
|
1999-04-20 05:31:43 +08:00
|
|
|
const char *X509_get_default_cert_file_env(void)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
return (X509_CERT_FILE_EVP);
|
|
|
|
}
|