summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libtls/keypair/keypairtest.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regress/lib/libtls/keypair/keypairtest.c b/src/regress/lib/libtls/keypair/keypairtest.c
index 147d088c15..8a7774ff2c 100644
--- a/src/regress/lib/libtls/keypair/keypairtest.c
+++ b/src/regress/lib/libtls/keypair/keypairtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: keypairtest.c,v 1.1 2018/02/08 10:06:52 jsing Exp $ */ 1/* $OpenBSD: keypairtest.c,v 1.2 2018/02/08 10:19:57 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2018 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -170,8 +170,9 @@ do_keypair_tests(void)
170 kp->ocsp_staple, kp->ocsp_staple_len) == -1) 170 kp->ocsp_staple, kp->ocsp_staple_len) == -1)
171 goto done; 171 goto done;
172 172
173 if (tls_keypair_pubkey_hash(kp, &hash) == -1) { 173 if (tls_keypair_pubkey_hash(kp, &err, &hash) == -1) {
174 fprintf(stderr, "FAIL: failed to generate keypair hash\n"); 174 fprintf(stderr, "FAIL: failed to generate keypair hash: %s\n",
175 err.msg);
175 goto done; 176 goto done;
176 } 177 }
177 if (strcmp(hash, PUBKEY_HASH) != 0) { 178 if (strcmp(hash, PUBKEY_HASH) != 0) {