X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/010b333715b8385c78c4bacaf9031e9faed42cfd..b46987cfe602a9a7e2c98bae1528b4a6cdf3e56e:/decodekey.c diff --git a/decodekey.c b/decodekey.c index 5818488..eb0a79d 100644 --- a/decodekey.c +++ b/decodekey.c @@ -271,7 +271,7 @@ uint64_t *keysubkeys(struct openpgp_publickey *key) subkeys[count++] = get_packetid(cursubkey->packet); cursubkey = cursubkey -> next; } - subkeys[count] = NULL; + subkeys[count] = 0; } return subkeys;