projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates. New data types.
[silc.git]
/
apps
/
silcd
/
protocol.c
diff --git
a/apps/silcd/protocol.c
b/apps/silcd/protocol.c
index 240771e25df889f48ccfde83b14e99353b8b7914..5faa32489e9e934f246e6079edcd52de07041408 100644
(file)
--- a/
apps/silcd/protocol.c
+++ b/
apps/silcd/protocol.c
@@
-132,7
+132,7
@@
int silc_server_protocol_ke_set_keys(SilcSKE ske,
/* Check remote host version string */
SilcSKEStatus silc_ske_check_version(SilcSKE ske, unsigned char *version,
/* Check remote host version string */
SilcSKEStatus silc_ske_check_version(SilcSKE ske, unsigned char *version,
- u
nsigned int
len)
+ u
int32
len)
{
SilcSKEStatus status = SILC_SKE_STATUS_OK;
{
SilcSKEStatus status = SILC_SKE_STATUS_OK;
@@
-453,7
+453,7
@@
static int
silc_server_public_key_authentication(SilcServer server,
SilcPublicKey pub_key,
unsigned char *sign,
silc_server_public_key_authentication(SilcServer server,
SilcPublicKey pub_key,
unsigned char *sign,
- u
nsigned int
sign_len,
+ u
int32
sign_len,
SilcSKE ske)
{
SilcPKCS pkcs;
SilcSKE ske)
{
SilcPKCS pkcs;
@@
-496,7
+496,7
@@
static int
silc_server_get_public_key_auth(SilcServer server,
SilcPublicKey pub_key,
unsigned char *auth_data,
silc_server_get_public_key_auth(SilcServer server,
SilcPublicKey pub_key,
unsigned char *auth_data,
- u
nsigned int
*auth_data_len,
+ u
int32
*auth_data_len,
SilcSKE ske)
{
int len;
SilcSKE ske)
{
int len;
@@
-564,8
+564,8
@@
SILC_TASK_CALLBACK(silc_server_protocol_connection_auth)
* We are receiving party
*/
int ret;
* We are receiving party
*/
int ret;
- u
nsigned short
payload_len;
- u
nsigned short
conn_type;
+ u
int16
payload_len;
+ u
int16
conn_type;
unsigned char *auth_data = NULL;
SILC_LOG_INFO(("Performing authentication protocol for %s (%s)",
unsigned char *auth_data = NULL;
SILC_LOG_INFO(("Performing authentication protocol for %s (%s)",
@@
-851,7
+851,7
@@
SILC_TASK_CALLBACK(silc_server_protocol_connection_auth)
SilcBuffer packet;
int payload_len = 0;
unsigned char *auth_data = NULL;
SilcBuffer packet;
int payload_len = 0;
unsigned char *auth_data = NULL;
- u
nsigned int
auth_data_len = 0;
+ u
int32
auth_data_len = 0;
switch(ctx->auth_meth) {
case SILC_AUTH_NONE:
switch(ctx->auth_meth) {
case SILC_AUTH_NONE: