[gnome-keyring] Missing check



commit c1801a6fed293c6cc5981dd8f5384dfa9f74bdef
Author: Jakub Jelen <jjelen redhat com>
Date:   Tue Aug 15 15:39:06 2017 +0200

    Missing check

 pkcs11/gkm/test-data-asn1.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pkcs11/gkm/test-data-asn1.c b/pkcs11/gkm/test-data-asn1.c
index f5a4db4..59da5d4 100644
--- a/pkcs11/gkm/test-data-asn1.c
+++ b/pkcs11/gkm/test-data-asn1.c
@@ -87,6 +87,7 @@ test_asn1_integers (Test *test, gconstpointer unused)
 
        /* Write the mpi out */
        ret = gkm_data_asn1_write_mpi (egg_asn1x_node (asn, "mpi", NULL), mpi);
+       g_assert ("couldn't write mpi to asn1" && ret);
 
        /* Now encode the whole caboodle */
        data = egg_asn1x_encode (asn, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]