diff options
author | Werner Koch <[email protected]> | 2003-12-17 12:28:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-12-17 12:28:24 +0000 |
commit | cbd57643a796acd3de6819183e751b251e748c32 (patch) | |
tree | 43f39aa81b51374bfd7d6105674fd27cad1af063 /sm/keydb.c | |
parent | Replaced deprecated type names. (diff) | |
download | gnupg-cbd57643a796acd3de6819183e751b251e748c32.tar.gz gnupg-cbd57643a796acd3de6819183e751b251e748c32.zip |
Replaced deprecated type names.
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul.
(gpgsm_dump_serial): Ditto.
* decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
Diffstat (limited to 'sm/keydb.c')
-rw-r--r-- | sm/keydb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sm/keydb.c b/sm/keydb.c index fe6556549..62e3ab2f3 100644 --- a/sm/keydb.c +++ b/sm/keydb.c @@ -557,7 +557,7 @@ keydb_insert_keyblock (KEYDB_HANDLE hd, KBNODE kb) key used to locate the keyblock or flag bit 1 set for the user ID node. */ int -keydb_get_cert (KEYDB_HANDLE hd, KsbaCert *r_cert) +keydb_get_cert (KEYDB_HANDLE hd, ksba_cert_t *r_cert) { int rc = 0; @@ -584,7 +584,7 @@ keydb_get_cert (KEYDB_HANDLE hd, KsbaCert *r_cert) * Insert a new Certificate into one of the resources. */ int -keydb_insert_cert (KEYDB_HANDLE hd, KsbaCert cert) +keydb_insert_cert (KEYDB_HANDLE hd, ksba_cert_t cert) { int rc = -1; int idx; @@ -627,7 +627,7 @@ keydb_insert_cert (KEYDB_HANDLE hd, KsbaCert cert) /* update the current keyblock with KB */ int -keydb_update_cert (KEYDB_HANDLE hd, KsbaCert cert) +keydb_update_cert (KEYDB_HANDLE hd, ksba_cert_t cert) { int rc = 0; char digest[20]; @@ -881,7 +881,7 @@ keydb_search_issuer (KEYDB_HANDLE hd, const char *issuer) int keydb_search_issuer_sn (KEYDB_HANDLE hd, - const char *issuer, KsbaConstSexp serial) + const char *issuer, ksba_const_sexp_t serial) { KEYDB_SEARCH_DESC desc; int rc; @@ -1219,7 +1219,7 @@ keydb_classify_name (const char *name, KEYDB_SEARCH_DESC *desc) If EXISTED is not NULL it will be set to true if the certificate was already in the DB. */ int -keydb_store_cert (KsbaCert cert, int ephemeral, int *existed) +keydb_store_cert (ksba_cert_t cert, int ephemeral, int *existed) { KEYDB_HANDLE kh; int rc; |