diff options
Diffstat (limited to 'src/include/openssl/conf.h')
-rw-r--r-- | src/include/openssl/conf.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/openssl/conf.h b/src/include/openssl/conf.h index a2741a8..0d2b61d 100644 --- a/src/include/openssl/conf.h +++ b/src/include/openssl/conf.h @@ -131,6 +131,28 @@ int CONF_parse_list(const char *list, char sep, int remove_whitespace, int (*list_cb)(const char *elem, int len, void *usr), void *arg); + +/* Deprecated functions */ + +/* These defines do nothing but are provided to make old code easier to + * compile. */ +#define CONF_MFLAGS_DEFAULT_SECTION 0 +#define CONF_MFLAGS_IGNORE_MISSING_FILE 0 + +typedef struct conf_must_be_null_st CONF_MUST_BE_NULL; + +/* CONF_modules_load_file returns one. |filename| was originally a string, with + * NULL indicating the default. BoringSSL does not support configuration files, + * so this stub emulates the "default" no-op file but intentionally breaks + * compilation of consumers actively attempting to use this subsystem. */ +OPENSSL_EXPORT int CONF_modules_load_file(CONF_MUST_BE_NULL *filename, + const char *appname, + unsigned long flags); + +/* CONF_modules_free does nothing. */ +OPENSSL_EXPORT void CONF_modules_free(void); + + #if defined(__cplusplus) } /* extern C */ #endif |