mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
cppcheck Returning an integer in a function with pointer return type is not portable
This commit is contained in:
parent
ba6ef2a1bc
commit
0c810ff4fd
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ struct emv_pk *emv_pki_make_ca(const struct crypto_pk *cp,
|
|||
struct crypto_hash *ch = crypto_hash_open(pk->hash_algo);
|
||||
if (!ch) {
|
||||
emv_pk_free(pk);
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
crypto_hash_write(ch, pk->rid, sizeof(pk->rid));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue