]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command.c
Assume sideband and aes_ctr128 are always supported/requested.
[paraslash.git] / command.c
index 0a76f68ee03dfeadf2d48e0b5065594caecbfef0..f4eeb524deaf87c303fec3ff78d4a56c278a8cff 100644 (file)
--- a/command.c
+++ b/command.c
@@ -787,6 +787,11 @@ static int parse_auth_request(char *buf, int len, const struct user **u,
                *p = '\0';
                p++;
                create_argv(p, ",", &features);
+               /*
+                * Still accept sideband and AES feature requests (as a no-op)
+                * because some 0.6.x clients request them. The two checks
+                * below may be removed after 0.7.1.
+                */
                for (i = 0; features[i]; i++) {
                        if (strcmp(features[i], "sideband") == 0)
                                continue;
@@ -905,7 +910,7 @@ int handle_connect(int fd)
        /* send Welcome message */
        ret = write_va_buffer(fd, "This is para_server, version "
                PACKAGE_VERSION ".\n"
-               "Features: sideband,aes_ctr128\n"
+               "Features:\n"
        );
        if (ret < 0)
                goto net_err;