]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Fix minor perlcritic errors in krb5-strength-wordlist
authorRuss Allbery <eagle@eyrie.org>
Tue, 25 Mar 2014 06:48:26 +0000 (23:48 -0700)
committerRuss Allbery <eagle@eyrie.org>
Tue, 25 Mar 2014 06:48:26 +0000 (23:48 -0700)
Add a missing stopword for spell checking and ignore the literal
newlines in the SQL code constants.

tools/krb5-strength-wordlist

index f92ec0a5b779ffec6c7ca7ab78a241d6b3ac4ba0..8d555f2c93963ecd3b95589d351f99d5d411661f 100755 (executable)
@@ -22,6 +22,7 @@ use Getopt::Long qw(GetOptions);
 my $CDB = 'cdb';
 
 # The SQL used to create the SQLite database.
+## no critic (ValuesAndExpressions::ProhibitImplicitNewlines)
 my $SQLITE_CREATE = q{
     CREATE TABLE passwords (
         password TEXT UNIQUE NOT NULL,
@@ -33,6 +34,7 @@ my $SQLITE_CREATE = q{
 my $SQLITE_INSERT = q{
     INSERT OR IGNORE INTO passwords (password, drowssap) values (?, ?)
 };
+## use critic
 
 # print with error checking and an explicit file handle.
 #
@@ -246,7 +248,7 @@ __END__
 =for stopwords
 krb5-strength-wordlist krb5-strength cdb whitespace lookups lookup
 sublicense MERCHANTABILITY NONINFRINGEMENT krb5-strength --ascii Allbery
-regexes output-wordlist
+regexes output-wordlist heimdal-strength
 
 =head1 NAME