summaryrefslogtreecommitdiffstats
path: root/sm/delete.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-12-17 13:28:24 +0100
committerWerner Koch <wk@gnupg.org>2003-12-17 13:28:24 +0100
commitcbd57643a796acd3de6819183e751b251e748c32 (patch)
tree43f39aa81b51374bfd7d6105674fd27cad1af063 /sm/delete.c
parentReplaced deprecated type names. (diff)
downloadgnupg2-cbd57643a796acd3de6819183e751b251e748c32.tar.xz
gnupg2-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/delete.c')
-rw-r--r--sm/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/delete.c b/sm/delete.c
index 53eff864c..8b04bc426 100644
--- a/sm/delete.c
+++ b/sm/delete.c
@@ -42,7 +42,7 @@ delete_one (CTRL ctrl, const char *username)
int rc = 0;
KEYDB_SEARCH_DESC desc;
KEYDB_HANDLE kh = NULL;
- KsbaCert cert = NULL;
+ ksba_cert_t cert = NULL;
int duplicates = 0;
rc = keydb_classify_name (username, &desc);
@@ -77,7 +77,7 @@ delete_one (CTRL ctrl, const char *username)
rc = 0;
else if (!rc)
{
- KsbaCert cert2 = NULL;
+ ksba_cert_t cert2 = NULL;
char fpr2[20];
/* We ignore all duplicated certificates which might have