Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-08-21 08:28:52 +0300
committerPauli <paul.dale@oracle.com>2019-08-21 08:30:56 +0300
commit5fa7789f1b46c6851df4cf8dde403b7f08bf93ea (patch)
tree0f23d4adc5abf695fdd480ffed14d2e0b2b62153 /include/internal
parent797a5b7af9d9bbfbcbff4607c10ad5c5595ac785 (diff)
Constify param builder string functions.
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9649)
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/param_build.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/param_build.h b/include/internal/param_build.h
index e1235eea29..83f8087020 100644
--- a/include/internal/param_build.h
+++ b/include/internal/param_build.h
@@ -69,10 +69,10 @@ int ossl_param_bld_push_double(OSSL_PARAM_BLD *bld, const char *key,
int ossl_param_bld_push_BN(OSSL_PARAM_BLD *bld, const char *key,
const BIGNUM *bn);
int ossl_param_bld_push_utf8_string(OSSL_PARAM_BLD *bld, const char *key,
- char *buf, size_t bsize);
+ const char *buf, size_t bsize);
int ossl_param_bld_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key,
char *buf, size_t bsize);
int ossl_param_bld_push_octet_string(OSSL_PARAM_BLD *bld, const char *key,
- void *buf, size_t bsize);
+ const void *buf, size_t bsize);
int ossl_param_bld_push_octet_ptr(OSSL_PARAM_BLD *bld, const char *key,
void *buf, size_t bsize);