MT#55831 Use a proper accessor instead of messing with the struc directly

Use a proper accessor instead of messing with the struc directly
which has become opaque in latest OpenSSL versions.
(real ticket number: TT#12308)

Change-Id: I51855e46f07f2331ad281a94961ca1d7394dc0de
mr11.2.1
Guillem Jover 4 years ago committed by Donat Zenichev
parent 32beea4d2f
commit d785557ddc

@ -74,7 +74,7 @@ long tcp_ssl_dbg_cb(BIO *bio, int oper, const char *argp,
switch (oper) {
case BIO_CB_WRITE: {
char buf[256];
snprintf(buf, 256, "%s: %s", argp, bio->method->name);
snprintf(buf, 256, "%s: %s", argp, BIO_method_name(bio));
INFO("%s", buf);
} break;

Loading…
Cancel
Save