key zeroisation fix for p12
[openssl.git] / crypto / x509 / x509_def.c
1 /*
2  * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the OpenSSL license (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
15 const char *X509_get_default_private_dir(void)
16 {
17     return X509_PRIVATE_DIR;
18 }
19
20 const char *X509_get_default_cert_area(void)
21 {
22     return X509_CERT_AREA;
23 }
24
25 const char *X509_get_default_cert_dir(void)
26 {
27     return X509_CERT_DIR;
28 }
29
30 const char *X509_get_default_cert_file(void)
31 {
32     return X509_CERT_FILE;
33 }
34
35 const char *X509_get_default_cert_dir_env(void)
36 {
37     return X509_CERT_DIR_EVP;
38 }
39
40 const char *X509_get_default_cert_file_env(void)
41 {
42     return X509_CERT_FILE_EVP;
43 }