summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2017-08-28 17:32:04 +0000
committerjsing <>2017-08-28 17:32:04 +0000
commite790d179f0c122ea11b978a15855d1fc9ccc5033 (patch)
tree51ddebed369935ec72def3dd20d12b9b571cdfcd
parent7a79631cfdd386d0949771f17e4daed3883f41aa (diff)
downloadopenbsd-e790d179f0c122ea11b978a15855d1fc9ccc5033.tar.gz
openbsd-e790d179f0c122ea11b978a15855d1fc9ccc5033.tar.bz2
openbsd-e790d179f0c122ea11b978a15855d1fc9ccc5033.zip
Use current chacha20-poly1305 cipher suite values.
-rw-r--r--src/regress/lib/libssl/unit/cipher_list.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/regress/lib/libssl/unit/cipher_list.c b/src/regress/lib/libssl/unit/cipher_list.c
index 05616194eb..c4b42764a0 100644
--- a/src/regress/lib/libssl/unit/cipher_list.c
+++ b/src/regress/lib/libssl/unit/cipher_list.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher_list.c,v 1.5 2017/01/23 06:49:31 beck Exp $ */ 1/* $OpenBSD: cipher_list.c,v 1.6 2017/08/28 17:32:04 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015 Doug Hogan <doug@openbsd.org> 3 * Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
4 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -44,18 +44,18 @@
44#include "tests.h" 44#include "tests.h"
45 45
46static uint8_t cipher_bytes[] = { 46static uint8_t cipher_bytes[] = {
47 0xcc, 0x14, /* ECDHE-ECDSA-CHACHA20-POLY1305 */ 47 0xcc, 0xa8, /* ECDHE-ECDSA-CHACHA20-POLY1305 */
48 0xcc, 0x13, /* ECDHE-RSA-CHACHA20-POLY1305 */ 48 0xcc, 0xa9, /* ECDHE-RSA-CHACHA20-POLY1305 */
49 0xcc, 0x15, /* DHE-RSA-CHACHA20-POLY1305 */ 49 0xcc, 0xaa, /* DHE-RSA-CHACHA20-POLY1305 */
50 0x00, 0x9c, /* AES128-GCM-SHA256 */ 50 0x00, 0x9c, /* AES128-GCM-SHA256 */
51 0x00, 0x3d, /* AES256-SHA256 */ 51 0x00, 0x3d, /* AES256-SHA256 */
52 0x00, 0x09, /* DES-CBC-SHA */ 52 0x00, 0x09, /* DES-CBC-SHA */
53}; 53};
54 54
55static uint16_t cipher_values[] = { 55static uint16_t cipher_values[] = {
56 0xcc14, /* ECDHE-ECDSA-CHACHA20-POLY1305 */ 56 0xcca8, /* ECDHE-ECDSA-CHACHA20-POLY1305 */
57 0xcc13, /* ECDHE-RSA-CHACHA20-POLY1305 */ 57 0xcca9, /* ECDHE-RSA-CHACHA20-POLY1305 */
58 0xcc15, /* DHE-RSA-CHACHA20-POLY1305 */ 58 0xccaa, /* DHE-RSA-CHACHA20-POLY1305 */
59 0x009c, /* AES128-GCM-SHA256 */ 59 0x009c, /* AES128-GCM-SHA256 */
60 0x003d, /* AES256-SHA256 */ 60 0x003d, /* AES256-SHA256 */
61 0x0009, /* DES-CBC-SHA */ 61 0x0009, /* DES-CBC-SHA */