]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - tests/data/passwords/sqlite.c
New upstream version 3.2
[kerberos/krb5-strength.git] / tests / data / passwords / sqlite.c
index 3ab6d4430b07cf1c5e588f0ceca97c9ae6d98728..64482df385f9c36baac2648e6e058d6a2a0c102f 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 sqlite_tests[];
 const struct password_test sqlite_tests[] = {
     {
 
@@ -21,6 +24,7 @@ const struct password_test sqlite_tests[] = {
         "known good password",
         0,
         NULL,
+        0,
     },
     {
 
@@ -28,7 +32,8 @@ const struct password_test sqlite_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 sqlite_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 sqlite_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 sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbane1",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -61,6 +69,7 @@ const struct password_test sqlite_tests[] = {
         "bitterbane123",
         0,
         NULL,
+        0,
     },
     {
 
@@ -68,7 +77,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "ab",
         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 sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "one",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -85,6 +96,7 @@ const struct password_test sqlite_tests[] = {
         "a",
         0,
         NULL,
+        0,
     },
     {
 
@@ -92,7 +104,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "itterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -100,7 +113,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "btterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -108,7 +122,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "biterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -116,7 +131,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bittrbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -124,7 +140,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bittebane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -132,7 +149,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -140,7 +158,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbne",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -148,7 +167,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbae",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -156,7 +176,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterban",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -164,7 +185,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "Citterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -172,7 +194,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "b7tterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -180,7 +203,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bi#terbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -188,7 +212,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bit*erbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -196,7 +221,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bittgrbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -204,7 +230,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitte.bane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -212,7 +239,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitter ane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -220,7 +248,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterb-ne",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -228,7 +257,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbame",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -236,7 +266,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbanq",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -244,7 +275,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "b7itterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -252,7 +284,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bi#tterbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -260,7 +293,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bit*terbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -268,7 +302,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bit*terbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -276,7 +311,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bittgerbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -284,7 +320,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitte.rbane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -292,7 +329,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitter bane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -300,7 +338,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterb-ane",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -308,7 +347,8 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbamne",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
     {
 
@@ -316,6 +356,7 @@ const struct password_test sqlite_tests[] = {
         "test@EXAMPLE.ORG",
         "bitterbanqe",
         KADM5_PASS_Q_DICT,
-        "password found in list of common passwords",
+        "Password found in list of common passwords",
+        0,
     },
 };