Skip to content

Commit

Permalink
Fix regress to handle movement of ssl structures to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
beck committed Jan 23, 2017
1 parent 122ecd9 commit a7e3a41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/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>
Expand Down Expand Up @@ -39,6 +39,8 @@
#include <stdio.h>
#include <string.h>

#include "ssl_locl.h"

#include "tests.h"

static uint8_t cipher_bytes[] = {
Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit a7e3a41

Please sign in to comment.