diff options
author | Rich Salz <rsalz@akamai.com> | 2019-10-17 21:45:34 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-10-17 23:19:59 +0200 |
commit | 3d48457478bd61030c370e4090c1462fc4453d81 (patch) | |
tree | cf36ad0667881411cb5b02f44411c03e510e12f2 /crypto/bio/bss_conn.c | |
parent | Move BLAKE2 digests completely to the default provider (diff) | |
download | openssl-3d48457478bd61030c370e4090c1462fc4453d81.tar.xz openssl-3d48457478bd61030c370e4090c1462fc4453d81.zip |
Replace BUF_ string function calls with OPENSSL_ ones
Deprecate the BUF_ string macros
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10207)
Diffstat (limited to 'crypto/bio/bss_conn.c')
-rw-r--r-- | crypto/bio/bss_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index afcf436749..3c2060cc10 100644 --- a/crypto/bio/bss_conn.c +++ b/crypto/bio/bss_conn.c @@ -411,7 +411,7 @@ static long conn_ctrl(BIO *b, int cmd, long num, void *ptr) OPENSSL_free(hold_service); } else if (num == 1) { OPENSSL_free(data->param_service); - data->param_service = BUF_strdup(ptr); + data->param_service = OPENSSL_strdup(ptr); } else if (num == 2) { const BIO_ADDR *addr = (const BIO_ADDR *)ptr; if (ret) { |