krb5 commit: Fix invalid test strings in t_oid.c

Greg Hudson ghudson at MIT.EDU
Sat Jul 12 15:19:25 EDT 2014


https://github.com/krb5/krb5/commit/0b36398f1b501186a3111cdd794f91e0201a8d5c
commit 0b36398f1b501186a3111cdd794f91e0201a8d5c
Author: Lukas Slebodnik <lslebodn at redhat.com>
Date:   Sat Jun 21 23:36:38 2014 +0200

    Fix invalid test strings in t_oid.c
    
    A missing comma caused two invalid strings to be concatenated.  The
    resulting string was still invalid so the tests passed.
    
    [ghudson at mit.edu: clarified commit message]

 src/tests/gssapi/t_oid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tests/gssapi/t_oid.c b/src/tests/gssapi/t_oid.c
index 8bfd2df..417f7b9 100644
--- a/src/tests/gssapi/t_oid.c
+++ b/src/tests/gssapi/t_oid.c
@@ -109,7 +109,7 @@ static char *invalid_strings[] = {
     "1.+0",
     "+0.1",
     "{ 1 garbage }",
-    "{ 1 }"
+    "{ 1 }",
     "{ 0 40 }",
     "{ 1 40 }",
     "{ 1 128 }",


More information about the cvs-krb5 mailing list