[gnome-keyring] Typo ('at' was already checked)



commit b957b6f3378ea9b556679bb5c3ba67cc5018f642
Author: Jakub Jelen <jjelen redhat com>
Date:   Tue Aug 15 15:38:32 2017 +0200

    Typo ('at' was already checked)

 pkcs11/gkm/gkm-crypto.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/gkm/gkm-crypto.c b/pkcs11/gkm/gkm-crypto.c
index 710b503..0d46bbb 100644
--- a/pkcs11/gkm/gkm-crypto.c
+++ b/pkcs11/gkm/gkm-crypto.c
@@ -107,7 +107,7 @@ gkm_crypto_sexp_to_data (gcry_sexp_t sexp, guint bits, CK_BYTE_PTR data,
 
        /* Parse out the MPI */
        mpi = gcry_sexp_nth_mpi (at, 1, GCRYMPI_FMT_USG);
-       g_return_val_if_fail (at != NULL, CKR_GENERAL_ERROR);
+       g_return_val_if_fail (mpi != NULL, CKR_GENERAL_ERROR);
        gcry_sexp_release (at);
 
        /* Print out the MPI into the end of a temporary buffer */


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