aboutsummaryrefslogtreecommitdiff
path: root/lib/md4.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-12-03 23:13:40 +0100
committerDaniel Gustafsson <daniel@yesql.se>2018-12-03 23:13:40 +0100
commit6381708970ff82173c59c5a49793535b55200003 (patch)
tree084f05005edba2eae5f491cca16c4b9505dce95d /lib/md4.c
parent847b13024417ea42b0123fcdb33ce53bf12619f7 (diff)
checksrc: add COPYRIGHTYEAR check
Forgetting to bump the year in the copyright clause when hacking has been quite common among curl developers, but a traditional checksrc check isn't a good fit as it would penalize anyone hacking on January 1st (among other things). This adds a more selective COPYRIGHTYEAR check which intends to only cover the currently hacked on changeset. The check for updated copyright year is currently not enforced on all files but only on files edited and/or committed locally. This is due to the amount of files which aren't updated with their correct copyright year at the time of their respective commit. To further avoid running this expensive check for every developer, it adds a new local override mode for checksrc where a .checksrc file can be used to turn on extended warnings locally. Closes #3303 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'lib/md4.c')
-rw-r--r--lib/md4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/md4.c b/lib/md4.c
index d35060216..4691904be 100644
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -1,4 +1,5 @@
/*
+ * !checksrc! disable COPYRIGHT
* This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
* MD4 Message-Digest Algorithm (RFC 1320).
*