summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeck <>2017-01-23 06:49:31 +0000
committerbeck <>2017-01-23 06:49:31 +0000
commitc403bebb7042a1c21959aded78bf10bad7a40a52 (patch)
tree92e14ff4f8863283ada8cc535079bbcbc7721942
parentfedd988b9f44e5e0ccf1a340f14354f32800d524 (diff)
downloadopenbsd-c403bebb7042a1c21959aded78bf10bad7a40a52.tar.gz
openbsd-c403bebb7042a1c21959aded78bf10bad7a40a52.tar.bz2
openbsd-c403bebb7042a1c21959aded78bf10bad7a40a52.zip
Fix regress to handle movement of ssl structures to internal
-rw-r--r--src/regress/lib/libssl/unit/cipher_list.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/unit/cipher_list.c b/src/regress/lib/libssl/unit/cipher_list.c
index a9ae637d05..05616194eb 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.4 2016/12/04 14:33:04 jsing Exp $ */ 1/* $OpenBSD: cipher_list.c,v 1.5 2017/01/23 06:49:31 beck 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>
@@ -39,6 +39,8 @@
39#include <stdio.h> 39#include <stdio.h>
40#include <string.h> 40#include <string.h>
41 41
42#include "ssl_locl.h"
43
42#include "tests.h" 44#include "tests.h"
43 45
44static uint8_t cipher_bytes[] = { 46static uint8_t cipher_bytes[] = {
@@ -128,7 +130,7 @@ ssl_list_to_bytes_no_scsv(SSL *s, STACK_OF(SSL_CIPHER) **ciphers)
128 buf[buflen - 1] = 0xab; 130 buf[buflen - 1] = 0xab;
129 131
130 /* Set renegotiate so it doesn't add SCSV */ 132 /* Set renegotiate so it doesn't add SCSV */
131 s->renegotiate = 1; 133 s->internal->renegotiate = 1;
132 134
133 CHECK(ssl_cipher_list_to_bytes(s, *ciphers, buf, buflen, &outlen)); 135 CHECK(ssl_cipher_list_to_bytes(s, *ciphers, buf, buflen, &outlen));
134 136