diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index 176d64b57..4e14cd000 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -128,7 +128,7 @@ void CONF_free(LHASH *conf); int CONF_dump_fp(LHASH *conf, FILE *out); int CONF_dump_bio(LHASH *conf, BIO *out); -void OPENSSL_config(char *config_name); +void OPENSSL_config(const char *config_name); /* New conf code. The semantics are different from the functions above. If that wasn't the case, the above functions would have been replaced */ diff --git a/crypto/conf/conf_mall.c b/crypto/conf/conf_mall.c index 18dbf1161..e7b4bdb65 100644 --- a/crypto/conf/conf_mall.c +++ b/crypto/conf/conf_mall.c @@ -81,7 +81,7 @@ void OPENSSL_load_builtin_modules(void) static int openssl_configured = 0; -void OPENSSL_config(char *config_name) +void OPENSSL_config(const char *config_name) { int err_exit = 0; char *file;