summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_local.h')
-rw-r--r--src/lib/libssl/ssl_local.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h
index 6095940388..1230ecd49e 100644
--- a/src/lib/libssl/ssl_local.h
+++ b/src/lib/libssl/ssl_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_local.h,v 1.27 2025/03/09 15:12:18 tb Exp $ */ 1/* $OpenBSD: ssl_local.h,v 1.28 2025/04/18 07:34:01 tb 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 *
@@ -203,7 +203,7 @@ __BEGIN_HIDDEN_DECLS
203/* Bits for algorithm_auth (server authentication) */ 203/* Bits for algorithm_auth (server authentication) */
204#define SSL_aRSA 0x00000001L /* RSA auth */ 204#define SSL_aRSA 0x00000001L /* RSA auth */
205#define SSL_aNULL 0x00000004L /* no auth (i.e. use ADH or AECDH) */ 205#define SSL_aNULL 0x00000004L /* no auth (i.e. use ADH or AECDH) */
206#define SSL_aECDSA 0x00000040L /* ECDSA auth*/ 206#define SSL_aECDSA 0x00000040L /* ECDSA auth*/
207#define SSL_aTLS1_3 0x00000400L /* TLSv1.3 authentication */ 207#define SSL_aTLS1_3 0x00000400L /* TLSv1.3 authentication */
208 208
209/* Bits for algorithm_enc (symmetric encryption) */ 209/* Bits for algorithm_enc (symmetric encryption) */
@@ -396,7 +396,7 @@ struct ssl_method_st {
396 * PSK_identity_hint [ 7 ] EXPLICIT OCTET STRING, -- optional PSK identity hint 396 * PSK_identity_hint [ 7 ] EXPLICIT OCTET STRING, -- optional PSK identity hint
397 * PSK_identity [ 8 ] EXPLICIT OCTET STRING, -- optional PSK identity 397 * PSK_identity [ 8 ] EXPLICIT OCTET STRING, -- optional PSK identity
398 * Ticket_lifetime_hint [9] EXPLICIT INTEGER, -- server's lifetime hint for session ticket 398 * Ticket_lifetime_hint [9] EXPLICIT INTEGER, -- server's lifetime hint for session ticket
399 * Ticket [10] EXPLICIT OCTET STRING, -- session ticket (clients only) 399 * Ticket [10] EXPLICIT OCTET STRING, -- session ticket (clients only)
400 * Compression_meth [11] EXPLICIT OCTET STRING, -- optional compression method 400 * Compression_meth [11] EXPLICIT OCTET STRING, -- optional compression method
401 * SRP_username [ 12 ] EXPLICIT OCTET STRING -- optional SRP username 401 * SRP_username [ 12 ] EXPLICIT OCTET STRING -- optional SRP username
402 * } 402 * }
@@ -1054,7 +1054,7 @@ struct ssl_st {
1054 1054
1055 int renegotiate;/* 1 if we are renegotiating. 1055 int renegotiate;/* 1 if we are renegotiating.
1056 * 2 if we are a server and are inside a handshake 1056 * 2 if we are a server and are inside a handshake
1057 * (i.e. not just sending a HelloRequest) */ 1057 * (i.e. not just sending a HelloRequest) */
1058 1058
1059 int rstate; /* where we are when reading */ 1059 int rstate; /* where we are when reading */
1060 1060
@@ -1078,7 +1078,7 @@ typedef struct ssl3_record_internal_st {
1078 1078
1079typedef struct ssl3_buffer_internal_st { 1079typedef struct ssl3_buffer_internal_st {
1080 unsigned char *buf; /* at least SSL3_RT_MAX_PACKET_SIZE bytes, 1080 unsigned char *buf; /* at least SSL3_RT_MAX_PACKET_SIZE bytes,
1081 * see ssl3_setup_buffers() */ 1081 * see ssl3_setup_buffers() */
1082 size_t len; /* buffer size */ 1082 size_t len; /* buffer size */
1083 int offset; /* where to 'copy from' */ 1083 int offset; /* where to 'copy from' */
1084 int left; /* how many bytes left */ 1084 int left; /* how many bytes left */