diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-02-28 21:47:48 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-03-05 19:33:32 +0100 |
commit | 6b9297882e0106b5c0af53320673d6341b9bea91 (patch) | |
tree | 486ef480b4d16a3df7c37569a6dcd62ed29b9dbe /libtests/md5.cc | |
parent | 8be827761347b7a0a4ce6e7bdfa6fd4585606b21 (diff) | |
download | qpdf-6b9297882e0106b5c0af53320673d6341b9bea91.tar.zst |
Mark secure CRT warnings with comment
Put a specific comment marker next to every piece of code that MSVC
gives warning 4996 for. This warning is generated for calls to
functions that Microsoft considers insecure or deprecated. This
change is in preparation for fixing all these cases even though none
of them are actually incorrect or insecure as used in qpdf. The
comment marker makes them easier to find so they can be fixed in
subsequent commits.
Diffstat (limited to 'libtests/md5.cc')
-rw-r--r-- | libtests/md5.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/md5.cc b/libtests/md5.cc index ed6a7d7a..71d83f31 100644 --- a/libtests/md5.cc +++ b/libtests/md5.cc @@ -46,7 +46,7 @@ int main(int, char*[]) Pl_MD5 p("MD5", &d); for (int i = 0; i < 2; ++i) { - FILE* f = fopen("md5.in", "rb"); + FILE* f = fopen("md5.in", "rb"); // XXXX if (f) { // buffer size < size of md5.in |