A local copy of OpenSSL from GitHub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

  1. /*
  2. * Copyright 2004-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. #include <errno.h>
  10. #include <e_os.h>
  11. /*
  12. * The routines really come from the Levitte Programming, so to make life
  13. * simple, let's just use the raw files and hack the symbols to fit our
  14. * namespace.
  15. */
  16. #define LP_DIR_CTX OPENSSL_DIR_CTX
  17. #define LP_dir_context_st OPENSSL_dir_context_st
  18. #define LP_find_file OPENSSL_DIR_read
  19. #define LP_find_file_end OPENSSL_DIR_end
  20. #include "internal/o_dir.h"
  21. #define LPDIR_H
  22. #if defined OPENSSL_SYS_UNIX || defined DJGPP
  23. # include "LPdir_unix.c"
  24. #elif defined OPENSSL_SYS_VMS
  25. # include "LPdir_vms.c"
  26. #elif defined OPENSSL_SYS_WIN32
  27. # include "LPdir_win32.c"
  28. #elif defined OPENSSL_SYS_WINCE
  29. # include "LPdir_wince.c"
  30. #else
  31. # include "LPdir_nyi.c"
  32. #endif