• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3  *
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  */
9 
10 #include <stdio.h>
11 #include "internal/cryptlib.h"
12 #include <openssl/crypto.h>
13 #include <openssl/x509.h>
14 
X509_get_default_private_dir(void)15 const char *X509_get_default_private_dir(void)
16 {
17     return X509_PRIVATE_DIR;
18 }
19 
X509_get_default_cert_area(void)20 const char *X509_get_default_cert_area(void)
21 {
22     return X509_CERT_AREA;
23 }
24 
X509_get_default_cert_dir(void)25 const char *X509_get_default_cert_dir(void)
26 {
27     return X509_CERT_DIR;
28 }
29 
X509_get_default_cert_file(void)30 const char *X509_get_default_cert_file(void)
31 {
32     return X509_CERT_FILE;
33 }
34 
X509_get_default_cert_dir_env(void)35 const char *X509_get_default_cert_dir_env(void)
36 {
37     return X509_CERT_DIR_EVP;
38 }
39 
X509_get_default_cert_file_env(void)40 const char *X509_get_default_cert_file_env(void)
41 {
42     return X509_CERT_FILE_EVP;
43 }
44