Lines 2441-2450
Link Here
|
2441 |
channel = silc_server_create_new_channel(server, server->id, cipher, |
2441 |
channel = silc_server_create_new_channel(server, server->id, cipher, |
2442 |
hmac, channel_name, TRUE); |
2442 |
hmac, channel_name, TRUE); |
2443 |
if (!channel) { |
2443 |
if (!channel) { |
2444 |
silc_server_command_send_status_data( |
2444 |
if (cipher) { |
2445 |
cmd, SILC_COMMAND_JOIN, |
2445 |
silc_server_command_send_status_data( |
2446 |
SILC_STATUS_ERR_UNKNOWN_ALGORITHM, |
2446 |
cmd, SILC_COMMAND_JOIN, |
2447 |
0, 2, cipher, strlen(cipher)); |
2447 |
SILC_STATUS_ERR_UNKNOWN_ALGORITHM, |
|
|
2448 |
0, 2, cipher, strlen(cipher)); |
2449 |
} else if (hmac) { |
2450 |
silc_server_command_send_status_data( |
2451 |
cmd, SILC_COMMAND_JOIN, |
2452 |
SILC_STATUS_ERR_UNKNOWN_ALGORITHM, |
2453 |
0, 2, hmac, strlen(hmac)); |
2454 |
} else { |
2455 |
silc_server_command_send_status_reply( |
2456 |
cmd, SILC_COMMAND_JOIN, |
2457 |
SILC_STATUS_ERR_RESOURCE_LIMIT, |
2458 |
0); |
2459 |
} |
2448 |
silc_free(client_id); |
2460 |
silc_free(client_id); |
2449 |
goto out; |
2461 |
goto out; |
2450 |
} |
2462 |
} |