Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dead code in pack_public_key_ed25519
if (ret != 0) free(response->public_key); is dead code; the very last operation before the memcpy and the setting of ret to 0 is the malloc of response->public_key, which means response->public_key is always NULL if pack_public_key_ed25519 fails.
- Loading branch information