diff options
Diffstat (limited to 'sm/certchain.c')
-rw-r--r-- | sm/certchain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/certchain.c b/sm/certchain.c index 054ca4c83..6be6fbe5a 100644 --- a/sm/certchain.c +++ b/sm/certchain.c @@ -351,7 +351,7 @@ find_up_external (KEYDB_HANDLE kh, const char *issuer, ksba_sexp_t keyid) pattern = xtrymalloc (strlen (s)+2); if (!pattern) - return gpg_error_from_errno (errno); + return gpg_error_from_syserror (); strcpy (stpcpy (pattern, "/"), s); add_to_strlist (&names, pattern); xfree (pattern); |