projects
/
crypto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95fc207
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 21 May 2001 06:51:57 +0000
(06:51 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 21 May 2001 06:51:57 +0000
(06:51 +0000)
CHANGES
patch
|
blob
|
history
lib/silccrypt/silccipher.c
patch
|
blob
|
history
lib/silccrypt/silchash.c
patch
|
blob
|
history
lib/silccrypt/silchmac.c
patch
|
blob
|
history
lib/silccrypt/silcpkcs.c
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index 0af543804c7b2257b633735b3df34ca6321a67d5..90eff4f9abea398ee2c30c7a3d8e64f2e6de88ac 100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-1,3
+1,7
@@
+Mon May 21 09:51:11 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+ * Fixed silc_xxx_get_supported to not crash at some circumstances.
+
Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* silc_idcache_purge_by_context deletes the entry now by context
Sun May 20 13:45:58 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* silc_idcache_purge_by_context deletes the entry now by context
diff --git
a/lib/silccrypt/silccipher.c
b/lib/silccrypt/silccipher.c
index fea377743ace559b038e2c6adf0f8e56d6baeb9a..79d6e7b7bb7c8ae8e13fbf79ec199c68c828e506 100644
(file)
--- a/
lib/silccrypt/silccipher.c
+++ b/
lib/silccrypt/silccipher.c
@@
-223,10
+223,9
@@
char *silc_cipher_get_supported(void)
memcpy(list + len, ",", 1);
len++;
}
memcpy(list + len, ",", 1);
len++;
}
+ list[len - 1] = 0;
}
}
- list[len - 1] = 0;
-
return list;
}
return list;
}
diff --git
a/lib/silccrypt/silchash.c
b/lib/silccrypt/silchash.c
index 865deab48f6ab5f01bff080c652ed094fb27516f..819a2fab377fdeadafa1d54fd7597f63d9df93db 100644
(file)
--- a/
lib/silccrypt/silchash.c
+++ b/
lib/silccrypt/silchash.c
@@
-186,10
+186,9
@@
char *silc_hash_get_supported(void)
memcpy(list + len, ",", 1);
len++;
}
memcpy(list + len, ",", 1);
len++;
}
+ list[len - 1] = 0;
}
}
- list[len - 1] = 0;
-
return list;
}
return list;
}
diff --git
a/lib/silccrypt/silchmac.c
b/lib/silccrypt/silchmac.c
index 2c9147a84bbf709e4ff6c669f11b403a5a49fa73..c2baf7d901500d897cad84ef16821bfa0102cc16 100644
(file)
--- a/
lib/silccrypt/silchmac.c
+++ b/
lib/silccrypt/silchmac.c
@@
-203,10
+203,9
@@
char *silc_hmac_get_supported()
memcpy(list + len, ",", 1);
len++;
}
memcpy(list + len, ",", 1);
len++;
}
+ list[len - 1] = 0;
}
}
- list[len - 1] = 0;
-
return list;
}
return list;
}
diff --git
a/lib/silccrypt/silcpkcs.c
b/lib/silccrypt/silcpkcs.c
index 80ff59baa52c94921dc329846e1f2f6b023e7fab..d69ef2309d942ab6e9e1211f857b2f9532228720 100644
(file)
--- a/
lib/silccrypt/silcpkcs.c
+++ b/
lib/silccrypt/silcpkcs.c
@@
-194,10
+194,9
@@
char *silc_pkcs_get_supported(void)
memcpy(list + len, ",", 1);
len++;
}
memcpy(list + len, ",", 1);
len++;
}
+ list[len - 1] = 0;
}
}
- list[len - 1] = 0;
-
return list;
}
return list;
}