Skip to content
Snippets Groups Projects
Commit 924b8469 authored by Matt Johnston's avatar Matt Johnston
Browse files

fix null pointer crash

parent 0ab0687a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -550,7 +550,7 @@ int buf_verify(buffer * buf, sign_key *key, buffer *data_buf) {
#if DROPBEAR_ECDSA
if (signkey_is_ecdsa(type)) {
ecc_key **eck = (ecc_key**)signkey_key_ptr(key, type);
if (eck) {
if (eck && *eck) {
return buf_ecdsa_verify(buf, *eck, data_buf);
}
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment