diff options
| author | tb <> | 2021-03-31 16:59:32 +0000 |
|---|---|---|
| committer | tb <> | 2021-03-31 16:59:32 +0000 |
| commit | 2ebb1bafcf20e3417b35907fc27572bb0ff9faac (patch) | |
| tree | 7fc9a2f9697b2baf17edacea4b0ba9baf7f6c5a7 /src/lib/libssl/dtls1.h | |
| parent | a1efc822dec4a6841e823a98eb74a2a95996e7ec (diff) | |
| download | openbsd-2ebb1bafcf20e3417b35907fc27572bb0ff9faac.tar.gz openbsd-2ebb1bafcf20e3417b35907fc27572bb0ff9faac.tar.bz2 openbsd-2ebb1bafcf20e3417b35907fc27572bb0ff9faac.zip | |
Expose various DTLSv1.2 specific functions and defines
ok bcook inoguchi jsing
Diffstat (limited to 'src/lib/libssl/dtls1.h')
| -rw-r--r-- | src/lib/libssl/dtls1.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/dtls1.h b/src/lib/libssl/dtls1.h index b822f659ab..fe8c5864dd 100644 --- a/src/lib/libssl/dtls1.h +++ b/src/lib/libssl/dtls1.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dtls1.h,v 1.24 2021/02/20 08:11:57 jsing Exp $ */ | 1 | /* $OpenBSD: dtls1.h,v 1.25 2021/03/31 16:59:32 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -74,10 +74,8 @@ extern "C" { | |||
| 74 | #endif | 74 | #endif |
| 75 | 75 | ||
| 76 | #define DTLS1_VERSION 0xFEFF | 76 | #define DTLS1_VERSION 0xFEFF |
| 77 | #if defined(LIBRESSL_HAS_DTLS1_2) || defined(LIBRESSL_INTERNAL) | ||
| 78 | #define DTLS1_2_VERSION 0xFEFD | 77 | #define DTLS1_2_VERSION 0xFEFD |
| 79 | #define DTLS1_VERSION_MAJOR 0xFE | 78 | #define DTLS1_VERSION_MAJOR 0xFE |
| 80 | #endif | ||
| 81 | 79 | ||
| 82 | /* lengths of messages */ | 80 | /* lengths of messages */ |
| 83 | #define DTLS1_COOKIE_LENGTH 256 | 81 | #define DTLS1_COOKIE_LENGTH 256 |
