]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - tests/data/passwords/cdb.c
New upstream version 3.2
[kerberos/krb5-strength.git] / tests / data / passwords / cdb.c
index dd469164493ad69cecc8ea921a0aba17de19025f..127c8237d55649abfe4f604385943aaf6225e6ec 100644 (file)
@@ -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 <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[] = {
     {
 
@@ -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,
     },
 };