diff options
Diffstat (limited to '')
-rw-r--r-- | g10/getkey.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/getkey.c b/g10/getkey.c index 74c0a74d6..c0088c38c 100644 --- a/g10/getkey.c +++ b/g10/getkey.c @@ -26,9 +26,10 @@ #include <string.h> #include <assert.h> #include <ctype.h> + +#include "gpg.h" #include "util.h" #include "packet.h" -#include "memory.h" #include "iobuf.h" #include "keydb.h" #include "options.h" @@ -2135,7 +2136,7 @@ merge_selfsigs_subkey( KBNODE keyblock, KBNODE subnode ) subpk->expiredate = key_expire; /* algo doesn't exist */ - if(check_pubkey_algo(subpk->pubkey_algo)) + if(openpgp_pk_test_algo(subpk->pubkey_algo)) return; subpk->is_valid = 1; |