From 24af7e00d94b1ef51f88850e75302cd1db0c420c Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 30 Sep 2003 17:19:13 +0000 Subject: [PATCH] 2003-09-30 Marcus Brinkmann * gpgme.c (gpgme_hash_algo_name): Change name of RMD160 to RIPEMD160, name of TIGER to TIGER192, name of CRC32-RFC1510 to CRC32RFC1510, and name of CRC24-RFC2440 to CRC24RFC2440. --- trunk/NEWS | 6 ++++++ trunk/gpgme/ChangeLog | 6 ++++++ trunk/gpgme/gpgme.c | 8 ++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/trunk/NEWS b/trunk/NEWS index f940075..90ea222 100644 --- a/trunk/NEWS +++ b/trunk/NEWS @@ -56,6 +56,11 @@ Noteworthy changes in version 0.4.3 (unreleased) GPGME can not do this for you, as setlocale is not thread safe, and there is no alternative. + * In the output of gpgme_hash_algo_name, change RMD160 to RIPEMD160, + TIGER to TIGER192, CRC32-RFC1510 to CRC32RFC1510, and CRC24-RFC2440 + to CRC24RFC2440. For now, these strings can be used as the MIC + parameter for PGP/MIME (if appropriately modified). + * Interface changes relative to the 0.4.2 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpgme_strerror_t NEW @@ -64,6 +69,7 @@ gpgme_key_t EXTENDED: New field can_authenticate. gpgme_subkey_t EXTENDED: New field can_authenticate. gpgme_new_signature_t CHANGED: New type for class field. gpgme_set_locale NEW +gpgme_hash_algo_name CHANGED: Slight adjustment of algo names. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 9950a55..70f9ec8 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,9 @@ +2003-09-30 Marcus Brinkmann + + * gpgme.c (gpgme_hash_algo_name): Change name of RMD160 to + RIPEMD160, name of TIGER to TIGER192, name of CRC32-RFC1510 to + CRC32RFC1510, and name of CRC24-RFC2440 to CRC24RFC2440. + 2003-09-14 Marcus Brinkmann * gpgme.h: Add prototype for gpgme_set_locale. diff --git a/trunk/gpgme/gpgme.c b/trunk/gpgme/gpgme.c index d4f0cf1..84862fe 100644 --- a/trunk/gpgme/gpgme.c +++ b/trunk/gpgme/gpgme.c @@ -415,13 +415,13 @@ gpgme_hash_algo_name (gpgme_hash_algo_t algo) return "SHA1"; case GPGME_MD_RMD160: - return "RMD160"; + return "RIPEMD160"; case GPGME_MD_MD2: return "MD2"; case GPGME_MD_TIGER: - return "TIGER"; + return "TIGER192"; case GPGME_MD_HAVAL: return "HAVAL"; @@ -442,10 +442,10 @@ gpgme_hash_algo_name (gpgme_hash_algo_t algo) return "CRC32"; case GPGME_MD_CRC32_RFC1510: - return "CRC32-RFC1510"; + return "CRC32RFC1510"; case GPGME_MD_CRC24_RFC2440: - return "CRC24-RFC2440"; + return "CRC24RFC2440"; default: return NULL; -- 2.26.2