summaryrefslogtreecommitdiffstats
path: root/sm/export.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-12-08 17:30:33 +0100
committerWerner Koch <wk@gnupg.org>2009-12-08 17:30:33 +0100
commit9a96043be4bed4e18320918e042b1601c9d93e95 (patch)
tree0066f7268d25aa95d59cf5fbb7570e487b809c52 /sm/export.c
parentSupport CERT records via ADNS (diff)
downloadgnupg2-9a96043be4bed4e18320918e042b1601c9d93e95.tar.xz
gnupg2-9a96043be4bed4e18320918e042b1601c9d93e95.zip
Unification of the search descriptor usage.
Diffstat (limited to 'sm/export.c')
-rw-r--r--sm/export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/export.c b/sm/export.c
index fcf1dccc1..b194d0dd1 100644
--- a/sm/export.c
+++ b/sm/export.c
@@ -180,7 +180,7 @@ gpgsm_export (ctrl_t ctrl, strlist_t names, FILE *fp, estream_t stream)
{
for (ndesc=0, sl=names; sl; sl = sl->next)
{
- rc = keydb_classify_name (sl->d, desc+ndesc);
+ rc = classify_user_id (sl->d, desc+ndesc);
if (rc)
{
log_error ("key `%s' not found: %s\n",
@@ -359,7 +359,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, FILE *fp)
goto leave;
}
- rc = keydb_classify_name (name, desc);
+ rc = classify_user_id (name, desc);
if (rc)
{
log_error ("key `%s' not found: %s\n",