projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added remote version control support to server.
[silc.git]
/
apps
/
silcd
/
protocol.c
diff --git
a/apps/silcd/protocol.c
b/apps/silcd/protocol.c
index 2200bfb8ccdad5cca50d4f4473bf0adf8be9c7c8..7cb72adaa51914cf1b156e34e10e421386bd3142 100644
(file)
--- a/
apps/silcd/protocol.c
+++ b/
apps/silcd/protocol.c
@@
-371,14
+371,6
@@
SilcSKEStatus silc_ske_check_version(SilcSKE ske, unsigned char *version,
if (maj != maj2)
status = SILC_SKE_STATUS_BAD_VERSION;
if (maj != maj2)
status = SILC_SKE_STATUS_BAD_VERSION;
-#if 0
- if (min > min2)
- status = SILC_SKE_STATUS_BAD_VERSION;
-#endif
-
- /* XXX < 0.6 is not allowed */
- if (maj == 0 && min < 5)
- status = SILC_SKE_STATUS_BAD_VERSION;
if (status == SILC_SKE_STATUS_BAD_VERSION)
SILC_LOG_ERROR(("%s (%s) %s is not allowed/supported version",
if (status == SILC_SKE_STATUS_BAD_VERSION)
SILC_LOG_ERROR(("%s (%s) %s is not allowed/supported version",