diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2017-01-23 08:48:46 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2017-01-23 08:48:46 +0000 |
commit | 0d66c5a1e8e087d62965784d469380b53425f8de (patch) | |
tree | ef1885417d3a440ae786b2349ed64174ed898aab /lib/libssl/ssl_stat.c | |
parent | aaf4acc81559f4d4f236103fc2dc549d893b06f3 (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.c | 10 |
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; |