From: Marcus Brinkmann Date: Tue, 30 Sep 2003 17:19:13 +0000 (+0000) Subject: 2003-09-30 Marcus Brinkmann X-Git-Tag: gpgme-0-4-3~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d66ff5e6651202369d3ebec924523fb01d1ce24e;p=gpgme.git 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. --- diff --git a/NEWS b/NEWS index f940075..90ea222 100644 --- a/NEWS +++ b/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/gpgme/ChangeLog b/gpgme/ChangeLog index 9950a55..70f9ec8 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/gpgme.c b/gpgme/gpgme.c index d4f0cf1..84862fe 100644 --- a/gpgme/gpgme.c +++ b/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;