summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-08-28 17:32:04 +0000
committerjsing <jsing@openbsd.org>2017-08-28 17:32:04 +0000
commit721c03230d8b90c2ef2f3e7321e636422f897fb2 (patch)
treeb02815a7da864197d5da4c28be4721a97468c642
parentDo not close the relay if data is still in the output buffer. (diff)
downloadwireguard-openbsd-721c03230d8b90c2ef2f3e7321e636422f897fb2.tar.xz
wireguard-openbsd-721c03230d8b90c2ef2f3e7321e636422f897fb2.zip
Use current chacha20-poly1305 cipher suite values.
-rw-r--r--regress/lib/libssl/unit/cipher_list.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/regress/lib/libssl/unit/cipher_list.c b/regress/lib/libssl/unit/cipher_list.c
index 05616194eb6..c4b42764a06 100644
--- a/regress/lib/libssl/unit/cipher_list.c
+++ b/regress/lib/libssl/unit/cipher_list.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cipher_list.c,v 1.5 2017/01/23 06:49:31 beck Exp $ */
+/* $OpenBSD: cipher_list.c,v 1.6 2017/08/28 17:32:04 jsing Exp $ */
/*
* Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -44,18 +44,18 @@
#include "tests.h"
static uint8_t cipher_bytes[] = {
- 0xcc, 0x14, /* ECDHE-ECDSA-CHACHA20-POLY1305 */
- 0xcc, 0x13, /* ECDHE-RSA-CHACHA20-POLY1305 */
- 0xcc, 0x15, /* DHE-RSA-CHACHA20-POLY1305 */
+ 0xcc, 0xa8, /* ECDHE-ECDSA-CHACHA20-POLY1305 */
+ 0xcc, 0xa9, /* ECDHE-RSA-CHACHA20-POLY1305 */
+ 0xcc, 0xaa, /* DHE-RSA-CHACHA20-POLY1305 */
0x00, 0x9c, /* AES128-GCM-SHA256 */
0x00, 0x3d, /* AES256-SHA256 */
0x00, 0x09, /* DES-CBC-SHA */
};
static uint16_t cipher_values[] = {
- 0xcc14, /* ECDHE-ECDSA-CHACHA20-POLY1305 */
- 0xcc13, /* ECDHE-RSA-CHACHA20-POLY1305 */
- 0xcc15, /* DHE-RSA-CHACHA20-POLY1305 */
+ 0xcca8, /* ECDHE-ECDSA-CHACHA20-POLY1305 */
+ 0xcca9, /* ECDHE-RSA-CHACHA20-POLY1305 */
+ 0xccaa, /* DHE-RSA-CHACHA20-POLY1305 */
0x009c, /* AES128-GCM-SHA256 */
0x003d, /* AES256-SHA256 */
0x0009, /* DES-CBC-SHA */