summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-08-21 07:28:52 +0200
committerPauli <paul.dale@oracle.com>2019-08-21 07:30:56 +0200
commit5fa7789f1b46c6851df4cf8dde403b7f08bf93ea (patch)
tree0f23d4adc5abf695fdd480ffed14d2e0b2b62153 /crypto
parentCorrect documented return value for BIO_get_mem_data() (diff)
downloadopenssl-5fa7789f1b46c6851df4cf8dde403b7f08bf93ea.tar.xz
openssl-5fa7789f1b46c6851df4cf8dde403b7f08bf93ea.zip
Constify param builder string functions.
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9649)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/param_build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/param_build.c b/crypto/param_build.c
index 4d28c8737e..db2182196c 100644
--- a/crypto/param_build.c
+++ b/crypto/param_build.c
@@ -160,7 +160,7 @@ int ossl_param_bld_push_BN(OSSL_PARAM_BLD *bld, const char *key,
}
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)
{
OSSL_PARAM_BLD_DEF *pd;
@@ -198,7 +198,7 @@ int ossl_param_bld_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key,
}
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)
{
OSSL_PARAM_BLD_DEF *pd;