projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check for NULL public key from SKE.
[silc.git]
/
lib
/
silcske
/
silcconnauth.c
diff --git
a/lib/silcske/silcconnauth.c
b/lib/silcske/silcconnauth.c
index 70cc29680181e9b314baf92e647a252c6902ff60..3e92d0ed86a50ca24b08748836f17651d1b3255e 100644
(file)
--- a/
lib/silcske/silcconnauth.c
+++ b/
lib/silcske/silcconnauth.c
@@
-591,7
+591,7
@@
SILC_FSM_STATE(silc_connauth_st_responder_authenticate)
/* Allocate search constraints for finding the key */
find = silc_skr_find_alloc();
/* Allocate search constraints for finding the key */
find = silc_skr_find_alloc();
- if (!find || !connauth->auth_data) {
+ if (!find || !connauth->auth_data
|| !connauth->ske->prop->public_key
) {
/** Out of memory */
silc_fsm_next(fsm, silc_connauth_st_responder_failure);
return SILC_FSM_CONTINUE;
/** Out of memory */
silc_fsm_next(fsm, silc_connauth_st_responder_failure);
return SILC_FSM_CONTINUE;