X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/010b333715b8385c78c4bacaf9031e9faed42cfd..6f0d21388eeeb33893728d92dfc0f3a3a6d6aafe:/decodekey.c?ds=sidebyside diff --git a/decodekey.c b/decodekey.c index 5818488..723435a 100644 --- a/decodekey.c +++ b/decodekey.c @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: decodekey.c,v 1.6 2004/05/27 03:24:01 noodles Exp $ */ #include @@ -271,7 +269,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;