summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2018-11-13 01:32:34 +0000
committerBob Beck <beck@cvs.openbsd.org>2018-11-13 01:32:34 +0000
commit6946b31f1f403a9ad331254ce7943ccbcaa22d01 (patch)
treedfe798364fea5e07610aaf0efaaad9e67208e3a9 /regress
parentcdcbb6bb9a27d251bad50dbf25c4e6d9c671f54d (diff)
Just err if we can't create secrets
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/key_schedule/key_schedule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libssl/key_schedule/key_schedule.c b/regress/lib/libssl/key_schedule/key_schedule.c
index c658f15e961..21751aa0f2d 100644
--- a/regress/lib/libssl/key_schedule/key_schedule.c
+++ b/regress/lib/libssl/key_schedule/key_schedule.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key_schedule.c,v 1.5 2018/11/10 01:46:54 tb Exp $ */
+/* $OpenBSD: key_schedule.c,v 1.6 2018/11/13 01:32:33 beck Exp $ */
/*
* Copyright (c) 2018 Bob Beck <beck@openbsd.org>
*
@@ -165,7 +165,7 @@ int main () {
struct tls13_secrets *secrets;
if ((secrets = tls13_secrets_create(EVP_sha256(), 0)) == NULL)
- FAIL("failed to create secrets\n");
+ errx(1,"failed to create secrets\n");
secrets->insecure = 1; /* don't explicit_bzero when done */