libgcrypt/cipher (ChangeLog cipher.c pubkey.c)

cvs user werner cvs at cvs.gnupg.org
Tue Dec 9 14:17:03 CET 2003


    Date: Tuesday, December 9, 2003 @ 14:17:03
  Author: werner
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: ChangeLog cipher.c pubkey.c

* pubkey.c (gcry_pk_encrypt): Replaced the chain of if(!err) tests
by straightforward gotos. Other cleanups.
(gcry_pk_decrypt): Ditto.
(gcry_pk_sign): Ditto.
(gcry_pk_verify): Ditto.
(gcry_pk_genkey): Ditto.  Use strtoul instead of strtol.
(gcry_pk_ctl): Use GPG_ERR_INV_ARG to indicate bad arguments.


-----------+
 ChangeLog |   25 +
 cipher.c  |  230 +++++++----
 pubkey.c  | 1165 ++++++++++++++++++++++++++++++------------------------------
 3 files changed, 762 insertions(+), 658 deletions(-)



More information about the Gnupg-commits mailing list