summaryrefslogtreecommitdiff
path: root/gcr/gcr-gnupg-util.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-11-07 09:19:19 +0100
committerStef Walter <stefw@gnome.org>2012-11-07 23:14:14 +0100
commitb271623e5c3044099fdbae8e6037fd23e3eee5e9 (patch)
treee5bd5c56f54ae817df49d2cf3ed1993a20312acc /gcr/gcr-gnupg-util.c
parent06defe293e5f71206971d37a4c0606f63a05d4a8 (diff)
downloadgcr-b271623e5c3044099fdbae8e6037fd23e3eee5e9.tar.gz
egg-hex: Use a full string as the hex delimiter
So that we can better print out escape encodings in our test data.
Diffstat (limited to 'gcr/gcr-gnupg-util.c')
-rw-r--r--gcr/gcr-gnupg-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcr/gcr-gnupg-util.c b/gcr/gcr-gnupg-util.c
index b85836b..5f8a6ed 100644
--- a/gcr/gcr-gnupg-util.c
+++ b/gcr/gcr-gnupg-util.c
@@ -54,7 +54,7 @@ _gcr_gnupg_build_xa1_record (GcrRecord *meta, gpointer attribute,
record = _gcr_record_new (GCR_RECORD_SCHEMA_XA1, GCR_RECORD_XA1_MAX, ':');
gcry_md_hash_buffer (GCRY_MD_RMD160, hash, attribute, n_attribute);
- hex = egg_hex_encode_full (hash, sizeof (hash), TRUE, 0, 1);
+ hex = egg_hex_encode_full (hash, sizeof (hash), TRUE, NULL, 1);
_gcr_record_take_raw (record, GCR_RECORD_XA1_FINGERPRINT, hex);
if (!_gcr_record_get_uint (meta, GCR_RECORD_ATTRIBUTE_FLAGS, &flags))