From 61af17199189570a4400f2757a9e8dab4bb76d2a Mon Sep 17 00:00:00 2001 From: beck <> Date: Mon, 23 Jan 2017 08:48:45 +0000 Subject: send state and rstate from ssl_st into internal. There are accessors so these should not be diddled with directly ok jsing@ --- src/lib/libssl/ssl_locl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/ssl_locl.h') diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 6da2ce3fab..1aac55f101 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.159 2017/01/23 08:08:06 beck Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.160 2017/01/23 08:48:44 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -723,6 +723,10 @@ typedef struct ssl_internal_st { int renegotiate;/* 1 if we are renegotiating. * 2 if we are a server and are inside a handshake * (i.e. not just sending a HelloRequest) */ + + int state; /* where we are */ + int rstate; /* where we are when reading */ + } SSL_INTERNAL; typedef struct ssl3_state_internal_st { -- cgit v1.2.3-55-g6feb