mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Sat Sep 18 12:16:08 CEST 1999 Werner Koch
This commit is contained in:
parent
a3ee7c4682
commit
24ae98041f
8 changed files with 356 additions and 39 deletions
12
g10/misc.c
12
g10/misc.c
|
@ -253,3 +253,15 @@ print_digest_algo_note( int algo )
|
|||
|
||||
|
||||
|
||||
/****************
|
||||
* Map errors retuned by libgcrypt to those used by GnuPG.
|
||||
*/
|
||||
int
|
||||
map_gcry_rc( int rc )
|
||||
{
|
||||
switch( rc ) {
|
||||
case 0: return 0;
|
||||
default: return G10ERR_GENERAL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue