]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - decodekey.c
Remove spurious LDFLAGS for onak linking.
[onak.git] / decodekey.c
index 5818488b766a92a9ad98dc595277097ecc0695f0..eb0a79d2cfd2277adcb5d18ad89df19ce0ac6f59 100644 (file)
@@ -271,7 +271,7 @@ uint64_t *keysubkeys(struct openpgp_publickey *key)
                        subkeys[count++] = get_packetid(cursubkey->packet);
                        cursubkey = cursubkey -> next;
                }
                        subkeys[count++] = get_packetid(cursubkey->packet);
                        cursubkey = cursubkey -> next;
                }
-               subkeys[count] = NULL;
+               subkeys[count] = 0;
        }
 
        return subkeys;
        }
 
        return subkeys;