diff options
Diffstat (limited to 'g10/t-keydb-get-keyblock.c')
-rw-r--r-- | g10/t-keydb-get-keyblock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/t-keydb-get-keyblock.c b/g10/t-keydb-get-keyblock.c index 2fbcb73e3..c12bab182 100644 --- a/g10/t-keydb-get-keyblock.c +++ b/g10/t-keydb-get-keyblock.c @@ -45,6 +45,8 @@ do_test (int argc, char *argv[]) ABORT ("Failed to open keyring."); hd1 = keydb_new (); + if (!hd1) + ABORT (""); rc = classify_user_id ("8061 5870 F5BA D690 3336 86D0 F2AD 85AC 1E42 B367", &desc1, 0); |