summaryrefslogtreecommitdiff
path: root/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-01-23 00:12:56 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-01-23 00:12:56 +0000
commit325bf022f705c99c9c0f162a875572e2b24aa5b5 (patch)
tree90e0c27f2d96f8f126b2e1c6549a4facb077db25 /lib/libssl/s3_srvr.c
parent964db494ed8ebbda733fb79066621caccfda3306 (diff)
Move the stats struct from SSL_CTX to internal.
ok beck@
Diffstat (limited to 'lib/libssl/s3_srvr.c')
-rw-r--r--lib/libssl/s3_srvr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/s3_srvr.c b/lib/libssl/s3_srvr.c
index 099537f7eaf..a18b2182077 100644
--- a/lib/libssl/s3_srvr.c
+++ b/lib/libssl/s3_srvr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_srvr.c,v 1.141 2017/01/22 09:02:07 jsing Exp $ */
+/* $OpenBSD: s3_srvr.c,v 1.142 2017/01/23 00:12:54 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -246,7 +246,7 @@ ssl3_accept(SSL *s)
}
s->state = SSL3_ST_SR_CLNT_HELLO_A;
- s->ctx->stats.sess_accept++;
+ s->ctx->internal->stats.sess_accept++;
} else if (!S3I(s)->send_connection_binding) {
/*
* Server attempting to renegotiate with
@@ -264,7 +264,7 @@ ssl3_accept(SSL *s)
* s->state == SSL_ST_RENEGOTIATE,
* we will just send a HelloRequest
*/
- s->ctx->stats.sess_accept_renegotiate++;
+ s->ctx->internal->stats.sess_accept_renegotiate++;
s->state = SSL3_ST_SW_HELLO_REQ_A;
}
break;
@@ -660,7 +660,7 @@ ssl3_accept(SSL *s)
ssl_update_cache(s, SSL_SESS_CACHE_SERVER);
- s->ctx->stats.sess_accept_good++;
+ s->ctx->internal->stats.sess_accept_good++;
/* s->server=1; */
s->handshake_func = ssl3_accept;