From b887e277164c221b3385ae6f15eabe4c6a356c04 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 8 Feb 2018 10:19:57 +0000 Subject: Update regress to match change to tls_keypair_pubkey_hash(). --- src/regress/lib/libtls/keypair/keypairtest.c | 7 ++++--- 1 file 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 @@ -/* $OpenBSD: keypairtest.c,v 1.1 2018/02/08 10:06:52 jsing Exp $ */ +/* $OpenBSD: keypairtest.c,v 1.2 2018/02/08 10:19:57 jsing Exp $ */ /* * Copyright (c) 2018 Joel Sing * @@ -170,8 +170,9 @@ do_keypair_tests(void) kp->ocsp_staple, kp->ocsp_staple_len) == -1) goto done; - if (tls_keypair_pubkey_hash(kp, &hash) == -1) { - fprintf(stderr, "FAIL: failed to generate keypair hash\n"); + if (tls_keypair_pubkey_hash(kp, &err, &hash) == -1) { + fprintf(stderr, "FAIL: failed to generate keypair hash: %s\n", + err.msg); goto done; } if (strcmp(hash, PUBKEY_HASH) != 0) { -- cgit v1.2.3-55-g6feb