summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl3.h')
-rw-r--r--src/lib/libssl/ssl3.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h
index 2d7d35b7b2..644e8df16b 100644
--- a/src/lib/libssl/ssl3.h
+++ b/src/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl3.h,v 1.34 2015/02/09 10:53:28 jsing Exp $ */ 1/* $OpenBSD: ssl3.h,v 1.35 2015/02/12 03:45:25 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 *
@@ -480,11 +480,9 @@ typedef struct ssl3_state_st {
480 unsigned char previous_server_finished_len; 480 unsigned char previous_server_finished_len;
481 int send_connection_binding; /* TODOEKR */ 481 int send_connection_binding; /* TODOEKR */
482 482
483#ifndef OPENSSL_NO_NEXTPROTONEG
484 /* Set if we saw the Next Protocol Negotiation extension from our peer. 483 /* Set if we saw the Next Protocol Negotiation extension from our peer.
485 */ 484 */
486 int next_proto_neg_seen; 485 int next_proto_neg_seen;
487#endif
488 486
489 /* 487 /*
490 * ALPN information 488 * ALPN information
@@ -539,10 +537,8 @@ typedef struct ssl3_state_st {
539#define SSL3_ST_CW_CERT_VRFY_B (0x191|SSL_ST_CONNECT) 537#define SSL3_ST_CW_CERT_VRFY_B (0x191|SSL_ST_CONNECT)
540#define SSL3_ST_CW_CHANGE_A (0x1A0|SSL_ST_CONNECT) 538#define SSL3_ST_CW_CHANGE_A (0x1A0|SSL_ST_CONNECT)
541#define SSL3_ST_CW_CHANGE_B (0x1A1|SSL_ST_CONNECT) 539#define SSL3_ST_CW_CHANGE_B (0x1A1|SSL_ST_CONNECT)
542#ifndef OPENSSL_NO_NEXTPROTONEG
543#define SSL3_ST_CW_NEXT_PROTO_A (0x200|SSL_ST_CONNECT) 540#define SSL3_ST_CW_NEXT_PROTO_A (0x200|SSL_ST_CONNECT)
544#define SSL3_ST_CW_NEXT_PROTO_B (0x201|SSL_ST_CONNECT) 541#define SSL3_ST_CW_NEXT_PROTO_B (0x201|SSL_ST_CONNECT)
545#endif
546#define SSL3_ST_CW_FINISHED_A (0x1B0|SSL_ST_CONNECT) 542#define SSL3_ST_CW_FINISHED_A (0x1B0|SSL_ST_CONNECT)
547#define SSL3_ST_CW_FINISHED_B (0x1B1|SSL_ST_CONNECT) 543#define SSL3_ST_CW_FINISHED_B (0x1B1|SSL_ST_CONNECT)
548/* read from server */ 544/* read from server */
@@ -588,10 +584,8 @@ typedef struct ssl3_state_st {
588#define SSL3_ST_SR_CERT_VRFY_B (0x1A1|SSL_ST_ACCEPT) 584#define SSL3_ST_SR_CERT_VRFY_B (0x1A1|SSL_ST_ACCEPT)
589#define SSL3_ST_SR_CHANGE_A (0x1B0|SSL_ST_ACCEPT) 585#define SSL3_ST_SR_CHANGE_A (0x1B0|SSL_ST_ACCEPT)
590#define SSL3_ST_SR_CHANGE_B (0x1B1|SSL_ST_ACCEPT) 586#define SSL3_ST_SR_CHANGE_B (0x1B1|SSL_ST_ACCEPT)
591#ifndef OPENSSL_NO_NEXTPROTONEG
592#define SSL3_ST_SR_NEXT_PROTO_A (0x210|SSL_ST_ACCEPT) 587#define SSL3_ST_SR_NEXT_PROTO_A (0x210|SSL_ST_ACCEPT)
593#define SSL3_ST_SR_NEXT_PROTO_B (0x211|SSL_ST_ACCEPT) 588#define SSL3_ST_SR_NEXT_PROTO_B (0x211|SSL_ST_ACCEPT)
594#endif
595#define SSL3_ST_SR_FINISHED_A (0x1C0|SSL_ST_ACCEPT) 589#define SSL3_ST_SR_FINISHED_A (0x1C0|SSL_ST_ACCEPT)
596#define SSL3_ST_SR_FINISHED_B (0x1C1|SSL_ST_ACCEPT) 590#define SSL3_ST_SR_FINISHED_B (0x1C1|SSL_ST_ACCEPT)
597/* write to client */ 591/* write to client */
@@ -617,9 +611,7 @@ typedef struct ssl3_state_st {
617#define SSL3_MT_FINISHED 20 611#define SSL3_MT_FINISHED 20
618#define SSL3_MT_CERTIFICATE_STATUS 22 612#define SSL3_MT_CERTIFICATE_STATUS 22
619 613
620#ifndef OPENSSL_NO_NEXTPROTONEG
621#define SSL3_MT_NEXT_PROTO 67 614#define SSL3_MT_NEXT_PROTO 67
622#endif
623 615
624#define DTLS1_MT_HELLO_VERIFY_REQUEST 3 616#define DTLS1_MT_HELLO_VERIFY_REQUEST 3
625 617