diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2017-01-23 04:15:29 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2017-01-23 04:15:29 +0000 |
commit | bde20253e45fea68b8d63c44aa7a0fd8355cd540 (patch) | |
tree | 8837e9a0028add131bbb8d52c275b9616f1d4b33 /lib/libssl/d1_pkt.c | |
parent | 0b2a792eec6d9b4d40d89e587a7317a33900da47 (diff) |
Move callback function pointers and argument pointers from SSL_CTX to
internal.
ok beck@
Diffstat (limited to 'lib/libssl/d1_pkt.c')
-rw-r--r-- | lib/libssl/d1_pkt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/d1_pkt.c b/lib/libssl/d1_pkt.c index 315960b5873..ef9bcaa7868 100644 --- a/lib/libssl/d1_pkt.c +++ b/lib/libssl/d1_pkt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_pkt.c,v 1.51 2017/01/22 09:02:07 jsing Exp $ */ +/* $OpenBSD: d1_pkt.c,v 1.52 2017/01/23 04:15:28 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -928,8 +928,8 @@ start: if (s->info_callback != NULL) cb = s->info_callback; - else if (s->ctx->info_callback != NULL) - cb = s->ctx->info_callback; + else if (s->ctx->internal->info_callback != NULL) + cb = s->ctx->internal->info_callback; if (cb != NULL) { j = (alert_level << 8) | alert_descr; @@ -1428,8 +1428,8 @@ dtls1_dispatch_alert(SSL *s) if (s->info_callback != NULL) cb = s->info_callback; - else if (s->ctx->info_callback != NULL) - cb = s->ctx->info_callback; + else if (s->ctx->internal->info_callback != NULL) + cb = s->ctx->internal->info_callback; if (cb != NULL) { j = (s->s3->send_alert[0]<<8)|s->s3->send_alert[1]; |