repair knf
authortedu <tedu@openbsd.org>
Wed, 16 Apr 2014 19:33:40 +0000 (19:33 +0000)
committertedu <tedu@openbsd.org>
Wed, 16 Apr 2014 19:33:40 +0000 (19:33 +0000)
lib/libssl/src/apps/apps.c

index 8a65754..a97d779 100644 (file)
@@ -2584,7 +2584,7 @@ next_protos_parse(unsigned short *outlen, const char *in)
                return NULL;
 
        for (i = 0; i <= len; ++i) {
-               if (i == len || in[i] == ', ') {
+               if (i == len || in[i] == ',') {
                        if (i - start > 255) {
                                OPENSSL_free(out);
                                return NULL;