Params: change UTF8 construct calls to avoid explicit strlen(3) calls.
authorPauli <paul.dale@oracle.com>
Wed, 5 Feb 2020 05:13:49 +0000 (15:13 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 6 Feb 2020 06:22:00 +0000 (16:22 +1000)
commit8b6ffd40401bd3b78538cb8d496db0c6926185b0
tree6329353eb7e6c01592b28898974ae2b8f2faaf9b
parentb744f915ca8bb37631909728dd2529289bda8438
Params: change UTF8 construct calls to avoid explicit strlen(3) calls.

It is better, safer and smaller to let the library routine handle the
strlen(3) call.

Added a note to the documentation suggesting this.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11019)
crypto/dh/dh_kdf.c
crypto/ec/ecdh_kdf.c
crypto/evp/p5_crpt2.c
crypto/evp/pkey_kdf.c
crypto/evp/pmeth_lib.c
crypto/rsa/rsa_lib.c
doc/man3/OSSL_PARAM_int.pod
ssl/t1_enc.c
ssl/tls13_enc.c