Browse Source

MT#55283 more specific callback arg name

Change-Id: I79adcb7f5c93dabe8db53b6203f64fc7f8cb7719
(cherry picked from commit afdeea876a)
mr13.4
Richard Fuchs 4 months ago
parent
commit
979a6b6350
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      daemon/dtls.c
  2. +1
    -1
      include/dtls.h

+ 2
- 2
daemon/dtls.c View File

@ -490,7 +490,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))
@ -670,7 +670,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");


+ 1
- 1
include/dtls.h View File

@ -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