diff --git a/src/string.c b/src/string.c index 94c11a2b..b2240fca 100644 --- a/src/string.c +++ b/src/string.c @@ -233,9 +233,6 @@ struct ssh_string_struct *ssh_string_copy(struct ssh_string_struct *s) } len = ssh_string_len(s); - if (len == 0) { - return NULL; - } new = ssh_string_new(len); if (new == NULL) {