projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added CAST5 (CAST-128) cipher, Added CTR mode to twofish, unified
[runtime.git]
/
lib
/
silccrypt
/
silcpk.c
diff --git
a/lib/silccrypt/silcpk.c
b/lib/silccrypt/silcpk.c
index ad03a023610ff65356e1ba9b099a2dc470cfee91..939eeaafdd75cd4c02ac86ab639579bd09b52202 100644
(file)
--- a/
lib/silccrypt/silcpk.c
+++ b/
lib/silccrypt/silcpk.c
@@
-209,7
+209,7
@@
char *silc_pkcs_silc_encode_identifier(SilcStack stack,
if (!username || !host)
return NULL;
- if (strlen(username) <
3 || strlen(host) < 3
)
+ if (strlen(username) <
1 || strlen(host) < 1
)
return NULL;
memset(&buf, 0, sizeof(buf));