diff options
author | Pauli <paul.dale@oracle.com> | 2019-08-21 07:28:52 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-08-21 07:30:56 +0200 |
commit | 5fa7789f1b46c6851df4cf8dde403b7f08bf93ea (patch) | |
tree | 0f23d4adc5abf695fdd480ffed14d2e0b2b62153 /crypto | |
parent | Correct documented return value for BIO_get_mem_data() (diff) | |
download | openssl-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.c | 4 |
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; |