aboutsummaryrefslogtreecommitdiffstats
path: root/g10/status.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-03-24 20:05:53 +0000
committerDavid Shaw <[email protected]>2003-03-24 20:05:53 +0000
commitd2548b3f600785c6ed062f945f52cc2ab861b6d3 (patch)
tree07a07e8731d49f5ee39472456ec27b6cbe6d2ff8 /g10/status.c
parent* acinclude.m4 (GNUPG_CHECK_ENDIAN): When crosscompiling assume (diff)
downloadgnupg-d2548b3f600785c6ed062f945f52cc2ab861b6d3.tar.gz
gnupg-d2548b3f600785c6ed062f945f52cc2ab861b6d3.zip
* keydb.h: Err on the side of making an unknown signature a SIG rather
than a CERT. * import.c (delete_inv_parts): Discard any key signatures that aren't key types (i.e. 0x00, 0x01, etc.) * g10.c (main): Add deprecated option warning for --list-ownertrust. Add --compression-algo alias for --compress-algo. Change --version output strings to match "showpref" strings, and make translatable. * status.c (do_get_from_fd): Accept 'y' as well as 'Y' for --command-fd boolean input. * trustdb.c: Fix typo (DISABLE_REGEXP -> DISABLE_REGEX) * keyedit.c (show_key_with_all_names_colon): Show no-ks-modify flag.
Diffstat (limited to 'g10/status.c')
-rw-r--r--g10/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/status.c b/g10/status.c
index b665968f0..99f9cfdd2 100644
--- a/g10/status.c
+++ b/g10/status.c
@@ -529,7 +529,7 @@ do_get_from_fd( const char *keyword, int hidden, int bool )
write_status( STATUS_GOT_IT );
if( bool ) /* Fixme: is this correct??? */
- return string[0] == 'Y' ? "" : NULL;
+ return (string[0] == 'Y' || string[0] == 'y') ? "" : NULL;
return string;
}