libgcrypt/cipher (ChangeLog Manifest ac.c md.c primegen.c)

cvs user werner cvs at cvs.gnupg.org
Fri Dec 19 10:20:41 CET 2003


    Date: Friday, December 19, 2003 @ 10:20:41
  Author: werner
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: ChangeLog Manifest ac.c md.c primegen.c

* ac.c (gcry_ac_open): Make sure HANDLE gets initialized even when
the function is not successful.
(gcry_ac_close): Allow a NULL handle.
(gcry_ac_key_destroy, gcry_ac_key_pair_destroy): Ditto.
(gcry_ac_key_get_grip): Return INV_OBJ on error.

* primegen.c (prime_generate_internal): Fixed error code for
failed malloc.  Replaced the !err if chain by gotos.
(gcry_prime_group_generator): Remove the extra sanity check.

* md.c: Minor code and comment cleanups.


------------+
 ChangeLog  |   18 +
 Manifest   |    5 
 ac.c       |   93 ++++--
 md.c       |   95 +++---
 primegen.c |  870 ++++++++++++++++++++++++++++++-----------------------------
 5 files changed, 579 insertions(+), 502 deletions(-)



More information about the Gnupg-commits mailing list