projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New silcconfig library and server parser. Merged silc-newconfig-final.patch.
[silc.git]
/
apps
/
silcd
/
protocol.c
diff --git
a/apps/silcd/protocol.c
b/apps/silcd/protocol.c
index d5a287d53275d437c322328f1f6b95d31ea73fc5..a7a1b707d7d1a39000626dbf555ac8f20a52cd2d 100644
(file)
--- a/
apps/silcd/protocol.c
+++ b/
apps/silcd/protocol.c
@@
-906,7
+906,7
@@
SILC_TASK_CALLBACK(silc_server_protocol_connection_auth)
/* Remote end is client */
if (conn_type == SILC_SOCKET_TYPE_CLIENT) {
/* Remote end is client */
if (conn_type == SILC_SOCKET_TYPE_CLIENT) {
- SilcServerConfigSectionClient
Connection
*client = ctx->cconfig;
+ SilcServerConfigSectionClient *client = ctx->cconfig;
if (client) {
switch(client->auth_meth) {
if (client) {
switch(client->auth_meth) {
@@
-968,7
+968,7
@@
SILC_TASK_CALLBACK(silc_server_protocol_connection_auth)
/* Remote end is server */
if (conn_type == SILC_SOCKET_TYPE_SERVER) {
/* Remote end is server */
if (conn_type == SILC_SOCKET_TYPE_SERVER) {
- SilcServerConfigSectionServer
Connection
*serv = ctx->sconfig;
+ SilcServerConfigSectionServer *serv = ctx->sconfig;
if (serv) {
switch(serv->auth_meth) {
if (serv) {
switch(serv->auth_meth) {
@@
-1030,7
+1030,7
@@
SILC_TASK_CALLBACK(silc_server_protocol_connection_auth)
/* Remote end is router */
if (conn_type == SILC_SOCKET_TYPE_ROUTER) {
/* Remote end is router */
if (conn_type == SILC_SOCKET_TYPE_ROUTER) {
- SilcServerConfigSection
ServerConnection
*serv = ctx->rconfig;
+ SilcServerConfigSection
Router
*serv = ctx->rconfig;
if (serv) {
switch(serv->auth_meth) {
if (serv) {
switch(serv->auth_meth) {