summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2017-01-23 06:49:32 +0000
committerBob Beck <beck@cvs.openbsd.org>2017-01-23 06:49:32 +0000
commitea3cd15c1c770387f5f2272662edf7fb7b024882 (patch)
treeea44610d109f973975d0faab0c4c22f53d5a83dc /regress/lib
parent25fabb579ae46d7bf5090fc8cf111dde4cb6c74c (diff)
Fix regress to handle movement of ssl structures to internal
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libssl/unit/cipher_list.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/lib/libssl/unit/cipher_list.c b/regress/lib/libssl/unit/cipher_list.c
index a9ae637d05e..05616194eb6 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.4 2016/12/04 14:33:04 jsing Exp $ */
+/* $OpenBSD: cipher_list.c,v 1.5 2017/01/23 06:49:31 beck Exp $ */
/*
* Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -39,6 +39,8 @@
#include <stdio.h>
#include <string.h>
+#include "ssl_locl.h"
+
#include "tests.h"
static uint8_t cipher_bytes[] = {
@@ -128,7 +130,7 @@ ssl_list_to_bytes_no_scsv(SSL *s, STACK_OF(SSL_CIPHER) **ciphers)
buf[buflen - 1] = 0xab;
/* Set renegotiate so it doesn't add SCSV */
- s->renegotiate = 1;
+ s->internal->renegotiate = 1;
CHECK(ssl_cipher_list_to_bytes(s, *ciphers, buf, buflen, &outlen));