diff options
| author | miod <> | 2014-11-18 05:33:43 +0000 |
|---|---|---|
| committer | miod <> | 2014-11-18 05:33:43 +0000 |
| commit | 262abb9ff4e2d2ca7a3d97ba9509d716fe37985d (patch) | |
| tree | 1ff6097d67d8f3a7af1e40761e736566bcd71b7d /src/lib/libssl/tls1.h | |
| parent | 0690f68b8ace3f1616822e1b9dbf5656beaaea16 (diff) | |
| download | openbsd-262abb9ff4e2d2ca7a3d97ba9509d716fe37985d.tar.gz openbsd-262abb9ff4e2d2ca7a3d97ba9509d716fe37985d.tar.bz2 openbsd-262abb9ff4e2d2ca7a3d97ba9509d716fe37985d.zip | |
Update the GOST code in libssl, as contributed by Dmitry Eremin-Solenikov.
This causes a libssl major version bump as this affects the layout of some
internal-but-unfortunately-made-visible structs.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/tls1.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lib/libssl/tls1.h b/src/lib/libssl/tls1.h index d2d1657edf..60dc7919a4 100644 --- a/src/lib/libssl/tls1.h +++ b/src/lib/libssl/tls1.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls1.h,v 1.21 2014/10/31 15:50:28 jsing Exp $ */ | 1 | /* $OpenBSD: tls1.h,v 1.22 2014/11/18 05:33:43 miod 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 | * |
| @@ -275,6 +275,10 @@ extern "C" { | |||
| 275 | #define TLSEXT_signature_rsa 1 | 275 | #define TLSEXT_signature_rsa 1 |
| 276 | #define TLSEXT_signature_dsa 2 | 276 | #define TLSEXT_signature_dsa 2 |
| 277 | #define TLSEXT_signature_ecdsa 3 | 277 | #define TLSEXT_signature_ecdsa 3 |
| 278 | /* FIXME IANA */ | ||
| 279 | #define TLSEXT_signature_gostr01 237 | ||
| 280 | #define TLSEXT_signature_gostr12_256 238 | ||
| 281 | #define TLSEXT_signature_gostr12_512 239 | ||
| 278 | 282 | ||
| 279 | #define TLSEXT_hash_none 0 | 283 | #define TLSEXT_hash_none 0 |
| 280 | #define TLSEXT_hash_md5 1 | 284 | #define TLSEXT_hash_md5 1 |
| @@ -283,6 +287,10 @@ extern "C" { | |||
| 283 | #define TLSEXT_hash_sha256 4 | 287 | #define TLSEXT_hash_sha256 4 |
| 284 | #define TLSEXT_hash_sha384 5 | 288 | #define TLSEXT_hash_sha384 5 |
| 285 | #define TLSEXT_hash_sha512 6 | 289 | #define TLSEXT_hash_sha512 6 |
| 290 | /* FIXME IANA */ | ||
| 291 | #define TLSEXT_hash_gost94 237 | ||
| 292 | #define TLSEXT_hash_streebog_256 238 | ||
| 293 | #define TLSEXT_hash_streebog_512 239 | ||
| 286 | 294 | ||
| 287 | #define TLSEXT_MAXLEN_host_name 255 | 295 | #define TLSEXT_MAXLEN_host_name 255 |
| 288 | 296 | ||
| @@ -669,9 +677,11 @@ SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb) | |||
| 669 | #define TLS_CT_ECDSA_FIXED_ECDH 66 | 677 | #define TLS_CT_ECDSA_FIXED_ECDH 66 |
| 670 | #define TLS_CT_GOST94_SIGN 21 | 678 | #define TLS_CT_GOST94_SIGN 21 |
| 671 | #define TLS_CT_GOST01_SIGN 22 | 679 | #define TLS_CT_GOST01_SIGN 22 |
| 680 | #define TLS_CT_GOST12_256_SIGN 238 /* FIXME: IANA */ | ||
| 681 | #define TLS_CT_GOST12_512_SIGN 239 /* FIXME: IANA */ | ||
| 672 | /* when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see | 682 | /* when correcting this number, correct also SSL3_CT_NUMBER in ssl3.h (see |
| 673 | * comment there) */ | 683 | * comment there) */ |
| 674 | #define TLS_CT_NUMBER 9 | 684 | #define TLS_CT_NUMBER 11 |
| 675 | 685 | ||
| 676 | #define TLS1_FINISH_MAC_LENGTH 12 | 686 | #define TLS1_FINISH_MAC_LENGTH 12 |
| 677 | 687 | ||
