projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0440a7b
)
Check for NULL public key from SKE.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 11 Nov 2007 11:30:04 +0000
(11:30 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 11 Nov 2007 11:30:04 +0000
(11:30 +0000)
lib/silcske/silcconnauth.c
patch
|
blob
|
history
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();
- 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;