* 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 <eagle@eyrie.org>
+ * Copyright 2020 Russ Allbery <eagle@eyrie.org>
* Copyright 2013
* The Board of Trustees of the Leland Stanford Junior University
*
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
*/
#include <tests/data/passwords/tests.h>
+extern const struct password_test cdb_tests[];
const struct password_test cdb_tests[] = {
{
"known good password",
0,
NULL,
+ 0,
},
{
"test@EXAMPLE.ORG",
"password",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"test@EXAMPLE.ORG",
"bitterbane",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"test@EXAMPLE.ORG",
"1bitterbane",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"test@EXAMPLE.ORG",
"bitterbane1",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"test@EXAMPLE.ORG",
"abbitterbane",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"test@EXAMPLE.ORG",
"bitterbane12",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"test@EXAMPLE.ORG",
"'bitterbane'",
KADM5_PASS_Q_DICT,
- "password found in list of common passwords",
+ "Password found in list of common passwords",
+ 0,
},
{
"bitterbane123",
0,
NULL,
+ 0,
},
};