summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl_locl.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index a187c8d77a..3f63b1de2f 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.151 2017/01/22 09:02:07 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.152 2017/01/23 00:12:55 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -384,6 +384,25 @@ typedef struct ssl_ctx_internal_st {
384 uint16_t min_version; 384 uint16_t min_version;
385 uint16_t max_version; 385 uint16_t max_version;
386 386
387 struct {
388 int sess_connect; /* SSL new conn - started */
389 int sess_connect_renegotiate;/* SSL reneg - requested */
390 int sess_connect_good; /* SSL new conne/reneg - finished */
391 int sess_accept; /* SSL new accept - started */
392 int sess_accept_renegotiate;/* SSL reneg - requested */
393 int sess_accept_good; /* SSL accept/reneg - finished */
394 int sess_miss; /* session lookup misses */
395 int sess_timeout; /* reuse attempt on timeouted session */
396 int sess_cache_full; /* session removed due to full cache */
397 int sess_hit; /* session reuse actually done */
398 int sess_cb_hit; /* session-id that was not
399 * in the cache was
400 * passed back via the callback. This
401 * indicates that the application is
402 * supplying session-id's from other
403 * processes - spooky :-) */
404 } stats;
405
387 /* Next protocol negotiation information */ 406 /* Next protocol negotiation information */
388 /* (for experimental NPN extension). */ 407 /* (for experimental NPN extension). */
389 408
@@ -422,7 +441,6 @@ typedef struct ssl_ctx_internal_st {
422 /* Client list of supported protocols in wire format. */ 441 /* Client list of supported protocols in wire format. */
423 unsigned char *alpn_client_proto_list; 442 unsigned char *alpn_client_proto_list;
424 unsigned int alpn_client_proto_list_len; 443 unsigned int alpn_client_proto_list_len;
425
426} SSL_CTX_INTERNAL; 444} SSL_CTX_INTERNAL;
427 445
428typedef struct ssl_internal_st { 446typedef struct ssl_internal_st {