diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-02-08 10:19:58 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-02-08 10:19:58 +0000 |
commit | 26e9afea368d784e91d47ab830a78af13a68be1f (patch) | |
tree | f0a920d36bf039c286a7232d44afdee536252d5a | |
parent | ad3ea31d0ace632c67eb58e46dec0caa7d583275 (diff) |
Update regress to match change to tls_keypair_pubkey_hash().
-rw-r--r-- | regress/lib/libtls/keypair/keypairtest.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libtls/keypair/keypairtest.c b/regress/lib/libtls/keypair/keypairtest.c index 147d088c159..8a7774ff2ca 100644 --- a/regress/lib/libtls/keypair/keypairtest.c +++ b/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 <jsing@openbsd.org> * @@ -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) { |