summaryrefslogtreecommitdiff
path: root/trust/pem.c
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2019-06-01 14:08:41 +0200
committerDaiki Ueno <ueno@gnu.org>2019-06-18 14:17:28 +0200
commit411a7a6d31cd5584ff9837260d77d8c306d3b557 (patch)
tree1ead29e73c22dd5e48ce5b5a596fd38e7c78106b /trust/pem.c
parent58481dbb0b0ee1384e62878283a398d96e0ff5f2 (diff)
trust: Fix mismatched return values
Diffstat (limited to 'trust/pem.c')
-rw-r--r--trust/pem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/pem.c b/trust/pem.c
index fae7dd6..8ab60e6 100644
--- a/trust/pem.c
+++ b/trust/pem.c
@@ -265,7 +265,7 @@ p11_pem_write (const unsigned char *contents,
prefix = buf->len;
target = p11_buffer_append (buf, estimate);
- return_val_if_fail (target != NULL, NULL);
+ return_val_if_fail (target != NULL, false);
/*
* OpenSSL is absolutely certain that it wants its PEM base64