diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-05-24 18:15:57 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-05-26 17:18:34 +0200 |
commit | 0800318a0c1f80ed838838951b0478cb977d40a6 (patch) | |
tree | 686267909ca13431b484c0c8e5a9a09fcc1b4537 /apps/dgst.c | |
parent | apps: Fix the mismatch of SM2 keys keymgmt (diff) | |
download | openssl-0800318a0c1f80ed838838951b0478cb977d40a6.tar.xz openssl-0800318a0c1f80ed838838951b0478cb977d40a6.zip |
Deprecate old style BIO callback calls
New style BIO_debug_callback_ex() function added to provide
replacement for BIO_debug_callback().
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15440)
Diffstat (limited to 'apps/dgst.c')
-rw-r--r-- | apps/dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index 0fa668511a..e39d645cb8 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -248,7 +248,7 @@ int dgst_main(int argc, char **argv) goto end; if (debug) { - BIO_set_callback(in, BIO_debug_callback); + BIO_set_callback_ex(in, BIO_debug_callback_ex); /* needed for windows 3.1 */ BIO_set_callback_arg(in, (char *)bio_err); } |