2
0

x509_def.c 919 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #include <stdio.h>
  10. #include "internal/cryptlib.h"
  11. #include <openssl/crypto.h>
  12. #include <openssl/x509.h>
  13. const char *X509_get_default_private_dir(void)
  14. {
  15. return X509_PRIVATE_DIR;
  16. }
  17. const char *X509_get_default_cert_area(void)
  18. {
  19. return X509_CERT_AREA;
  20. }
  21. const char *X509_get_default_cert_dir(void)
  22. {
  23. return X509_CERT_DIR;
  24. }
  25. const char *X509_get_default_cert_file(void)
  26. {
  27. return X509_CERT_FILE;
  28. }
  29. const char *X509_get_default_cert_dir_env(void)
  30. {
  31. return X509_CERT_DIR_EVP;
  32. }
  33. const char *X509_get_default_cert_file_env(void)
  34. {
  35. return X509_CERT_FILE_EVP;
  36. }