X-Git-Url: https://git.eyrie.org/?a=blobdiff_plain;f=tests%2Fdata%2Fpasswords%2Fcdb.c;h=127c8237d55649abfe4f604385943aaf6225e6ec;hb=42bbbcfb783fe4e2e698b31472ed640d49baed8c;hp=dd469164493ad69cecc8ea921a0aba17de19025f;hpb=60387e470df1ddf5cf71b69aa83ae9c9664cde05;p=kerberos%2Fkrb5-strength.git diff --git a/tests/data/passwords/cdb.c b/tests/data/passwords/cdb.c index dd46916..127c823 100644 --- a/tests/data/passwords/cdb.c +++ b/tests/data/passwords/cdb.c @@ -5,14 +5,17 @@ * for the use in C test programs. To make changes, modify the original * JSON source or (more rarely) the make-c-data script and run it again. * + * Written by Russ Allbery + * Copyright 2020 Russ Allbery * Copyright 2013 * The Board of Trustees of the Leland Stanford Junior University * - * See LICENSE for licensing terms. + * SPDX-License-Identifier: MIT */ #include +extern const struct password_test cdb_tests[]; const struct password_test cdb_tests[] = { { @@ -21,6 +24,7 @@ const struct password_test cdb_tests[] = { "known good password", 0, NULL, + 0, }, { @@ -28,7 +32,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "password", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -36,7 +41,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "bitterbane", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -44,7 +50,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "1bitterbane", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -52,7 +59,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "bitterbane1", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -60,7 +68,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "abbitterbane", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -68,7 +77,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "bitterbane12", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -76,7 +86,8 @@ const struct password_test cdb_tests[] = { "test@EXAMPLE.ORG", "'bitterbane'", KADM5_PASS_Q_DICT, - "password found in list of common passwords", + "Password found in list of common passwords", + 0, }, { @@ -85,5 +96,6 @@ const struct password_test cdb_tests[] = { "bitterbane123", 0, NULL, + 0, }, };