diff options
Diffstat (limited to 'security')
-rwxr-xr-x | security/audit-packages/files/audit-packages | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages index 5f136bc077d..6d88a30c930 100755 --- a/security/audit-packages/files/audit-packages +++ b/security/audit-packages/files/audit-packages @@ -1,6 +1,6 @@ #! @SH@ # -# $NetBSD: audit-packages,v 1.30 2006/12/09 12:30:47 adrianp Exp $ +# $NetBSD: audit-packages,v 1.31 2007/07/10 15:27:57 joerg Exp $ # # Copyright (c) 2000-2003 Alistair Crooks. All rights reserved. # @@ -165,7 +165,7 @@ case "$errmsg" in "") errmsg="No checksum algorithm found in $vuls file" errsolution="$ERR_DOWNLOAD" ;; - *) calcsum=`@AWK@ '$1 == "#CHECKSUM" || /\$NetBSD.*/ { next } { print }' "$vuls" | @DIGEST@ "$recordedalg"` + *) calcsum=`@AWK@ '$1 == "#CHECKSUM" || /\$[N]etBSD.*/ { next } { print }' "$vuls" | @DIGEST@ "$recordedalg"` if [ "$recordedsum" != "$calcsum" ]; then errmsg="Checksum mismatch - recorded $recordedalg checksum \"$recordedsum\", calculated checksum \"$calcsum\"" errsolution="$ERR_DOWNLOAD" |