summaryrefslogtreecommitdiff
path: root/src/regress
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c
index 30bbed9d8d..d3858e4c50 100644
--- a/src/regress/lib/libssl/tlsext/tlsexttest.c
+++ b/src/regress/lib/libssl/tlsext/tlsexttest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tlsexttest.c,v 1.13 2017/08/26 20:23:46 doug Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.14 2017/08/27 02:17:51 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -495,7 +495,8 @@ test_tlsext_ec_clienthello(void)
495 495
496 failure = 1; 496 failure = 1;
497 497
498 CBB_init(&cbb, 0); 498 if (!CBB_init(&cbb, 0))
499 errx(1, "failed to create CBB");
499 500
500 if ((ssl_ctx = SSL_CTX_new(TLS_client_method())) == NULL) 501 if ((ssl_ctx = SSL_CTX_new(TLS_client_method())) == NULL)
501 errx(1, "failed to create SSL_CTX"); 502 errx(1, "failed to create SSL_CTX");