2003-09-30 Marcus Brinkmann <marcus@g10code.de>

* 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.
This commit is contained in:
Marcus Brinkmann 2003-09-30 17:19:13 +00:00
parent b4473cfffd
commit d66ff5e665
3 changed files with 16 additions and 4 deletions

6
NEWS
View File

@ -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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -1,3 +1,9 @@
2003-09-30 Marcus Brinkmann <marcus@g10code.de>
* 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 <marcus@g10code.de>
* gpgme.h: Add prototype for gpgme_set_locale.

View File

@ -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;