summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_stat.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-01-23 08:48:46 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-01-23 08:48:46 +0000
commit0d66c5a1e8e087d62965784d469380b53425f8de (patch)
treeef1885417d3a440ae786b2349ed64174ed898aab /lib/libssl/ssl_stat.c
parentaaf4acc81559f4d4f236103fc2dc549d893b06f3 (diff)
send state and rstate from ssl_st into internal. There are accessors
so these should not be diddled with directly ok jsing@
Diffstat (limited to 'lib/libssl/ssl_stat.c')
-rw-r--r--lib/libssl/ssl_stat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/ssl_stat.c b/lib/libssl/ssl_stat.c
index 6d67d19c253..4f93781f721 100644
--- a/lib/libssl/ssl_stat.c
+++ b/lib/libssl/ssl_stat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_stat.c,v 1.12 2014/11/16 14:12:47 jsing Exp $ */
+/* $OpenBSD: ssl_stat.c,v 1.13 2017/01/23 08:48:45 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -91,7 +91,7 @@ SSL_state_string_long(const SSL *s)
{
const char *str;
- switch (s->state) {
+ switch (s->internal->state) {
case SSL_ST_BEFORE:
str = "before SSL initialization";
break;
@@ -325,7 +325,7 @@ SSL_rstate_string_long(const SSL *s)
{
const char *str;
- switch (s->rstate) {
+ switch (s->internal->rstate) {
case SSL_ST_READ_HEADER:
str = "read header";
break;
@@ -347,7 +347,7 @@ SSL_state_string(const SSL *s)
{
const char *str;
- switch (s->state) {
+ switch (s->internal->state) {
case SSL_ST_BEFORE:
str = "PINIT ";
break;
@@ -783,7 +783,7 @@ SSL_rstate_string(const SSL *s)
{
const char *str;
- switch (s->rstate) {
+ switch (s->internal->rstate) {
case SSL_ST_READ_HEADER:
str = "RH";
break;