diff options
author | Werner Koch <[email protected]> | 2016-01-22 11:54:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-01-22 11:54:02 +0000 |
commit | 12c665b36cdc4b7189549698fc4cc1b3523b18f5 (patch) | |
tree | f13fb432aa615e00f3c104bfc9bd899bc1d06a13 /dirmngr/misc.h | |
parent | dirmngr: Provide the keyserver pool name even if there is no CNAME. (diff) | |
download | gnupg-12c665b36cdc4b7189549698fc4cc1b3523b18f5.tar.gz gnupg-12c665b36cdc4b7189549698fc4cc1b3523b18f5.zip |
dirmngr: Indicate that serial numbers are hexadecimal.
* dirmngr/misc.c (hexify_data): Add arg with_prefix. Adjust all
callers.
* dirmngr/crlcache.c (cache_isvalid): Print "0x" in front of the S/N.
--
GnuPG-bug-id: 1147
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/misc.h')
-rw-r--r-- | dirmngr/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/misc.h b/dirmngr/misc.h index d8c53d30a..be4049e88 100644 --- a/dirmngr/misc.h +++ b/dirmngr/misc.h @@ -28,7 +28,7 @@ size_t unhexify (unsigned char *result, const char *string); char* hashify_data( const char* data, size_t len ); /* Returns data as a hex string. */ -char* hexify_data( const unsigned char* data, size_t len ); +char* hexify_data (const unsigned char* data, size_t len, int with_prefix); /* Returns the serial number as a hex string. */ char* serial_hex ( ksba_sexp_t serial ); |