MT#55283 more specific callback arg name

Change-Id: I79adcb7f5c93dabe8db53b6203f64fc7f8cb7719
(cherry picked from commit afdeea876a)
(cherry picked from commit 3edabf201f)
mr12.5.1
Richard Fuchs 5 months ago
parent 817218095e
commit 59a451c747

@ -493,7 +493,7 @@ static int verify_callback(int ok, X509_STORE_CTX *store) {
d = SSL_get_app_data(ssl);
if (d->ssl != ssl)
return 0;
ps = d->ptr;
ps = d->ps;
if (!ps)
return 0;
if (PS_ISSET(ps, FINGERPRINT_VERIFIED))
@ -665,7 +665,7 @@ int dtls_connection_init(struct dtls_connection *d, struct packet_stream *ps, in
dtls_connection_cleanup(d);
}
d->ptr = ps;
d->ps = ps;
ilogs(crypto, LOG_DEBUG, "Creating %s DTLS connection context", active ? "active" : "passive");

@ -42,7 +42,7 @@ struct dtls_connection {
SSL_CTX *ssl_ctx;
SSL *ssl;
BIO *r_bio, *w_bio;
void *ptr;
struct packet_stream *ps;
unsigned char tls_id[16];
unsigned int init:1,
active:1,

Loading…
Cancel
Save