diff options
author | Michael Tänzer <neo@nhng.de> | 2011-07-21 01:42:07 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2011-07-21 01:42:07 +0200 |
commit | 900d6e061e04c38ef72bbe73ac53d3f083eda01a (patch) | |
tree | 28ed2ad96f009eb7da3cd07699bac005c6851b49 /scripts | |
parent | f0db9d78a5e3b22ec7aa1cbc86d6d8836bf3566f (diff) | |
download | cacert-devel-bug-954.tar.gz cacert-devel-bug-954.tar.xz cacert-devel-bug-954.zip |
bug 954: second parameter to fgets() is optional and as we have nobug-954
reasonable value, just get rid of it
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mass-revoke.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mass-revoke.php b/scripts/mass-revoke.php index 35eb24f..18c036b 100755 --- a/scripts/mass-revoke.php +++ b/scripts/mass-revoke.php @@ -36,7 +36,7 @@ $in = fopen("php://stdin", "r"); # The restriction on revoked timestamp os only "to be sure" for non-Org certs, # but Org certs (email and serer) may be included multiple times in the output # of DumpWeakCerts.pl (once for each OrgAdmin). -while($in_string = rtrim(fgets($in, 255))) { +while($in_string = rtrim(fgets($in))) { list($cert_type, $cert_email, $owner_name, $cert_expire, $cert_CN, $reason, $cert_serial, $cert_recid) = explode("\t", $in_string); |