projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed passphrase asking in OPER/SILCOPER commands.
[silc.git]
/
lib
/
silcclient
/
command.c
diff --git
a/lib/silcclient/command.c
b/lib/silcclient/command.c
index 88bd9411eb2291a79003a45575997806372a5113..19b9fc6c07646ace947e14477d9593e2b893e639 100644
(file)
--- a/
lib/silcclient/command.c
+++ b/
lib/silcclient/command.c
@@
-2263,6
+2263,8
@@
SILC_FSM_STATE(silc_client_command_oper)
return SILC_FSM_FINISH;
}
return SILC_FSM_FINISH;
}
+ silc_fsm_next(fsm, silc_client_command_oper_send);
+
/* Get passphrase */
if (cmd->argc < 3) {
oper = silc_calloc(1, sizeof(*oper));
/* Get passphrase */
if (cmd->argc < 3) {
oper = silc_calloc(1, sizeof(*oper));
@@
-2274,7
+2276,6
@@
SILC_FSM_STATE(silc_client_command_oper)
silc_client_command_oper_cb, cmd));
}
silc_client_command_oper_cb, cmd));
}
- silc_fsm_next(fsm, silc_client_command_oper_send);
return SILC_FSM_CONTINUE;
}
return SILC_FSM_CONTINUE;
}
@@
-2293,6
+2294,8
@@
SILC_FSM_STATE(silc_client_command_silcoper)
return SILC_FSM_FINISH;
}
return SILC_FSM_FINISH;
}
+ silc_fsm_next(fsm, silc_client_command_oper_send);
+
/* Get passphrase */
if (cmd->argc < 3) {
oper = silc_calloc(1, sizeof(*oper));
/* Get passphrase */
if (cmd->argc < 3) {
oper = silc_calloc(1, sizeof(*oper));
@@
-2304,7
+2307,6
@@
SILC_FSM_STATE(silc_client_command_silcoper)
silc_client_command_oper_cb, cmd));
}
silc_client_command_oper_cb, cmd));
}
- silc_fsm_next(fsm, silc_client_command_oper_send);
return SILC_FSM_CONTINUE;
}
return SILC_FSM_CONTINUE;
}