conf.h 838 B

12345678910111213141516171819202122232425262728293031
  1. #include <contrib/libs/openssl/redef.h>
  2. /*
  3. * Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
  4. *
  5. * Licensed under the OpenSSL license (the "License"). You may not use
  6. * this file except in compliance with the License. You can obtain a copy
  7. * in the file LICENSE in the source distribution or at
  8. * https://www.openssl.org/source/license.html
  9. */
  10. #ifndef OSSL_INTERNAL_CONF_H
  11. # define OSSL_INTERNAL_CONF_H
  12. #include <openssl/conf.h>
  13. #define DEFAULT_CONF_MFLAGS \
  14. (CONF_MFLAGS_DEFAULT_SECTION | \
  15. CONF_MFLAGS_IGNORE_MISSING_FILE | \
  16. CONF_MFLAGS_IGNORE_RETURN_CODES)
  17. struct ossl_init_settings_st {
  18. char *filename;
  19. char *appname;
  20. unsigned long flags;
  21. };
  22. int openssl_config_int(const OPENSSL_INIT_SETTINGS *);
  23. void openssl_no_config_int(void);
  24. void conf_modules_free_int(void);
  25. #endif