diff options
| author | jsing <> | 2015-02-09 10:53:28 +0000 |
|---|---|---|
| committer | jsing <> | 2015-02-09 10:53:28 +0000 |
| commit | 02bf7aab1edd295f175128c3cbf04d8c1b69a7cf (patch) | |
| tree | 26c8e0794ca281a87b301ecbd4dde188ac6918e4 /src/lib/libssl/ssl3.h | |
| parent | 157b832965c968aac98859f2f0bc3494c13ef7ef (diff) | |
| download | openbsd-02bf7aab1edd295f175128c3cbf04d8c1b69a7cf.tar.gz openbsd-02bf7aab1edd295f175128c3cbf04d8c1b69a7cf.tar.bz2 openbsd-02bf7aab1edd295f175128c3cbf04d8c1b69a7cf.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 'src/lib/libssl/ssl3.h')
| -rw-r--r-- | src/lib/libssl/ssl3.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libssl/ssl3.h b/src/lib/libssl/ssl3.h index 5f59e18eb4..2d7d35b7b2 100644 --- a/src/lib/libssl/ssl3.h +++ b/src/lib/libssl/ssl3.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl3.h,v 1.33 2014/12/14 21:49:29 bcook Exp $ */ | 1 | /* $OpenBSD: ssl3.h,v 1.34 2015/02/09 10:53:28 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 | * |
| @@ -512,10 +512,6 @@ typedef struct ssl3_state_st { | |||
| 512 | /*client */ | 512 | /*client */ |
| 513 | /* extra state */ | 513 | /* extra state */ |
| 514 | #define SSL3_ST_CW_FLUSH (0x100|SSL_ST_CONNECT) | 514 | #define SSL3_ST_CW_FLUSH (0x100|SSL_ST_CONNECT) |
| 515 | #ifndef OPENSSL_NO_SCTP | ||
| 516 | #define DTLS1_SCTP_ST_CW_WRITE_SOCK (0x310|SSL_ST_CONNECT) | ||
| 517 | #define DTLS1_SCTP_ST_CR_READ_SOCK (0x320|SSL_ST_CONNECT) | ||
| 518 | #endif | ||
| 519 | /* write to server */ | 515 | /* write to server */ |
| 520 | #define SSL3_ST_CW_CLNT_HELLO_A (0x110|SSL_ST_CONNECT) | 516 | #define SSL3_ST_CW_CLNT_HELLO_A (0x110|SSL_ST_CONNECT) |
| 521 | #define SSL3_ST_CW_CLNT_HELLO_B (0x111|SSL_ST_CONNECT) | 517 | #define SSL3_ST_CW_CLNT_HELLO_B (0x111|SSL_ST_CONNECT) |
| @@ -562,10 +558,6 @@ typedef struct ssl3_state_st { | |||
| 562 | /* server */ | 558 | /* server */ |
| 563 | /* extra state */ | 559 | /* extra state */ |
| 564 | #define SSL3_ST_SW_FLUSH (0x100|SSL_ST_ACCEPT) | 560 | #define SSL3_ST_SW_FLUSH (0x100|SSL_ST_ACCEPT) |
| 565 | #ifndef OPENSSL_NO_SCTP | ||
| 566 | #define DTLS1_SCTP_ST_SW_WRITE_SOCK (0x310|SSL_ST_ACCEPT) | ||
| 567 | #define DTLS1_SCTP_ST_SR_READ_SOCK (0x320|SSL_ST_ACCEPT) | ||
| 568 | #endif | ||
| 569 | /* read from client */ | 561 | /* read from client */ |
| 570 | /* Do not change the number values, they do matter */ | 562 | /* Do not change the number values, they do matter */ |
| 571 | #define SSL3_ST_SR_CLNT_HELLO_A (0x110|SSL_ST_ACCEPT) | 563 | #define SSL3_ST_SR_CLNT_HELLO_A (0x110|SSL_ST_ACCEPT) |
