summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl3.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-02-09 10:53:28 +0000
committerjsing <jsing@openbsd.org>2015-02-09 10:53:28 +0000
commit006f529189f9c141d7a2d953ac580657fcd07af8 (patch)
treebea488cda3f2a2364d3f659592a834725a56770b /lib/libssl/ssl3.h
parentif isascii isn't defined, don't define a retarded version (diff)
downloadwireguard-openbsd-006f529189f9c141d7a2d953ac580657fcd07af8.tar.xz
wireguard-openbsd-006f529189f9c141d7a2d953ac580657fcd07af8.zip
Jettison DTLS over SCTP.
OpenBSD does not have SCTP support and it sees little use in the wild. OPENSSL_NO_SCTP is already specified via opensslfeatures.h, hence this is a code removal only and symbols should remain unchanged. ok beck@ miod@ tedu@
Diffstat (limited to 'lib/libssl/ssl3.h')
-rw-r--r--lib/libssl/ssl3.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libssl/ssl3.h b/lib/libssl/ssl3.h
index 5f59e18eb45..2d7d35b7b25 100644
--- a/lib/libssl/ssl3.h
+++ b/lib/libssl/ssl3.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl3.h,v 1.33 2014/12/14 21:49:29 bcook Exp $ */
+/* $OpenBSD: ssl3.h,v 1.34 2015/02/09 10:53:28 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -512,10 +512,6 @@ typedef struct ssl3_state_st {
/*client */
/* extra state */
#define SSL3_ST_CW_FLUSH (0x100|SSL_ST_CONNECT)
-#ifndef OPENSSL_NO_SCTP
-#define DTLS1_SCTP_ST_CW_WRITE_SOCK (0x310|SSL_ST_CONNECT)
-#define DTLS1_SCTP_ST_CR_READ_SOCK (0x320|SSL_ST_CONNECT)
-#endif
/* write to server */
#define SSL3_ST_CW_CLNT_HELLO_A (0x110|SSL_ST_CONNECT)
#define SSL3_ST_CW_CLNT_HELLO_B (0x111|SSL_ST_CONNECT)
@@ -562,10 +558,6 @@ typedef struct ssl3_state_st {
/* server */
/* extra state */
#define SSL3_ST_SW_FLUSH (0x100|SSL_ST_ACCEPT)
-#ifndef OPENSSL_NO_SCTP
-#define DTLS1_SCTP_ST_SW_WRITE_SOCK (0x310|SSL_ST_ACCEPT)
-#define DTLS1_SCTP_ST_SR_READ_SOCK (0x320|SSL_ST_ACCEPT)
-#endif
/* read from client */
/* Do not change the number values, they do matter */
#define SSL3_ST_SR_CLNT_HELLO_A (0x110|SSL_ST_ACCEPT)