Fossil

File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/sha1.c

2017-11-30
17:58
Refactor the symlink processing logic so that most of the file access routines take a new parameter indicating the conditions under which symlinks should and should not be followed. This should fix a few bugs related to symlink processing. Lots of testing required before merging to trunk. file: [19c038af] check-in: [e7767de2] user: drh branch: symlink-refactor, size: 16140
2017-05-28
19:35
Fix compilation using MSVC 2005 and 2008. file: [04efd231] check-in: [9766cfd5] user: mistachkin branch: trunk, size: 15721
2017-03-02
12:08
Few (textual) typos. Eliminate unneccary spacing. file: [f8052a97] check-in: [b098c939] user: jan.nijtmans branch: trunk, size: 15741
01:28
Fix harmless compiler warnings in the new hardened SHA1 implementation. file: [eb6ff0e6] check-in: [ed30b3d6] user: drh branch: trunk, size: 15744
2017-03-01
21:39
Indicate the use of hardened-SHA1 in the "fossil version -v" output. file: [0014690a] check-in: [e81f4d4e] user: drh branch: hardened-sha1, size: 15735
21:24
Make it possible to turn off SHA1 hardening, falling back to the legacy implementations. file: [57cd8acb] check-in: [2f87dcf5] user: drh branch: hardened-sha1, size: 15666
21:03
Use the hardened SHA1 hash function from https://github.com/cr-marcstevens/sha1collisiondetection. file: [6d35b9ed] check-in: [ba9d1080] user: drh branch: hardened-sha1, size: 8501
2017-02-27
18:26
Manifest parser supports various hash sizes. file: [2d54962b] check-in: [80f9b68e] user: drh branch: fossil-2.0, size: 14388
2017-02-24
14:52
Fix MD5 function (actually: byteReverse) for ARM processors. If OpenSSL is available, use their MD5 impl. Exchange SHA1Final() method parameters, being compatible with OpenSSL. file: [4c9b7509] check-in: [b88ef030] user: jan.nijtmans branch: trunk, size: 13797
2016-04-07
18:41
Make usage of 'Usage:' and 'or:' consistent in all help text. file: [67e15d13] check-in: [8bfd9951] user: rberteig branch: trunk, size: 13810
2016-04-01
13:37
Fix typos in comments. No changes to code. file: [b26560bf] check-in: [b6b50b12] user: mistachkin branch: trunk, size: 13800
2015-01-28
09:24
Minor compiler warning in shell.c (already fixed in SQLite). "char const" -> "const char" for consistancy. file: [475f5dc5] check-in: [5330d107] user: jan.nijtmans branch: trunk, size: 13801
2014-04-30
07:43
If Openssl is available, use its sha1 implementation. Suggested by Baruch Burstein. file: [bf0bc6d9] check-in: [379309b6] user: jan.nijtmans branch: trunk, size: 13812
2013-12-04
09:36
Styling: translate some tabs to spaces file: [764d029c] check-in: [b3e32c8e] user: jan.nijtmans branch: trunk, size: 13617
2013-10-11
08:36
Make sure that EVERY source file includes "config.h" before any other system includes. This is the first step in making fossil compile for Win64 using MinGW. file: [720c5139] check-in: [c30cd93b] user: jan.nijtmans branch: trunk, size: 13520
2012-11-04
12:59
Fix typos. file: [f53023fc] check-in: [45065c5c] user: dmitry branch: spelling, size: 13520
2012-06-27
12:30
Begin a branch that is modified to use sqlite4 instead of sqlite3 as the storage engine. This check-in compiles (on unix) but does not work. file: [5d1d83f5] check-in: [68239127] user: drh branch: sqlite4, size: 13522
2012-03-29
14:54
Add vim modline everywhere file: [0cb0ef03] check-in: [a496d8e8] user: mgagnon branch: mgagnon_fix, size: 13564
2011-11-03
18:04
Move "sha1sum" to an auxiliary command. Promote "test-md5sum" to an auxiliary command. file: [f2b11072] check-in: [dde919a4] user: drh branch: trunk, size: 13522
2011-10-10
19:33
Fix a C++ comment in sha1.c. Fix a help text typo. file: [48a5e76e] check-in: [a6f3dd1c] user: drh branch: trunk, size: 13521
2011-10-04
15:20
Add HMAC-SHA1 implementation. file: [8df42fd5] check-in: [dcee34b2] user: dmitry branch: multisession, size: 18326
2011-09-08
11:59
Introduce new file_wd_* functions that use stat() or lstat() depending on 'allow-symlinks' setting, and use them when dealing with files inside the working directory. Make file_* functions always use stat() as before merging symlink support.    Fix renaming of symlinks when merging (via new function symlink_copy()).    Rename create_symlink() to symlink_create(). file: [e9122a51] check-in: [8a0c5469] user: dmitry branch: symlinks, size: 13518
2011-09-01
20:56
Merge latest trunk. file: [a088d4e4] check-in: [02ee688a] user: dmitry branch: symlinks, size: 13515
14:31
substantive improvement to sha1 speed (especially on x86) file: [eb55ba1f] check-in: [f2ede7da] user: ron branch: trunk, size: 13216
2011-08-22
22:20
Merge trunk. file: [40c07a36] check-in: [c57830be] user: dmitry branch: symlinks, size: 13101
2011-05-20
11:22
Convert some fopen() calls to fossil_fopen(). Missed them previously. file: [2302f92d] check-in: [f626fcaa] user: drh branch: windows-i18n, size: 12802
2011-04-27
18:21
Attempt to get Fossil working on windows systems that do not use UTF8 in the shell. file: [7f0464c9] check-in: [e805fa8d] user: drh branch: windows-i18n, size: 12795
2011-04-08
18:45
User edits can be applied to a single repository or across the entire login group. file: [f25e6093] check-in: [a3fbd4fa] user: drh branch: login-groups, size: 12789
17:08
Begin adding code to implement "login groups" which will (we hope) ultimately lead to a single sign-on capability. file: [26e6f297] check-in: [eec32b99] user: drh branch: login-groups, size: 12776
2011-01-28
19:04
Add symlink support for Unix. New settings flag "allow-symlinks" controls this (off by default). file: [c9570045] check-in: [ed2ef7e9] user: dmitry branch: symlinks, size: 11979
2010-10-21
20:54
Fix the new SHA1 checksum module so that it does not overwrite its input. file: [72a27303] check-in: [fa9dfc34] user: drh branch: experimental, size: 11680
20:08
Replace the RFC-3174 reference implementation of SHA1 with the much faster implementation from NetBSD. file: [70aea594] check-in: [f8f175cf] user: drh branch: experimental, size: 11639
2010-08-28
09:20
Added the msvc sdk compiler file: [37d0f222] check-in: [c00f79d0] user: renez branch: windowscompilers, size: 17016
06:59
This is the first check-in on the windowscompilers branch and it adds the Digital Mars C compiler    The user should have dmc installed in c:\DM with zlib in c:\DM\extra\lib and c:\DM\extra\include.    typing c:\DM\bin\make -f win\Makefile.dmc builds fossil.exe in dmcobj    The following files were edited or added: Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by#include <windows.h> However most of the time we don't use windows.h. Adding an other windows compiler is done by adding "|| defined(__COMPILER_IDENTIFIER__)" and maybe some special things in the files below. Like These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast. DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it! added tcl code to generate Makefile.dmc. tclsh src/makemake.tcl dmc prints to stdout the makefile. As a convienience to the end-user I added the win/Makefile.dmc to the repository. There are few changeable variables in there for adjusting path, CFLAGS LIBS etc. These are needed because DMC and MSVC doesn't provided them. dirent.h is copied verbatim from the net. unistd.h I found on the net too, but added some defines. The problem with windows it doesn't have AWK standard installed. version.c creates VERSION.h. It is a very simple C-program and doesn't do a lot of checking. file: [abeefb50] check-in: [f66f414f] user: renez branch: windowscompilers, size: 16995
2010-02-08
16:08
Alternative fix for ticket [9ff56ae8a6]. file: [039460fa] check-in: [3cc4cd55] user: drh branch: trunk, size: 16926
2010-02-06
20:20
fixed [9ff56ae8a6] - "fossil sha" crash file: [3ed17621] check-in: [4027ad4b] user: ron branch: dead-end, size: 16941
2010-01-10
20:56
Change the hash algorithm for passwords so that USER.PW field stores a SHA1 hash of the project-code, user login, and user password, rather than just a hash of the user password. That way, the if two users select the same password, or if the one user selects the same password for multiple projects, the password hashes are still different. file: [dcfc18a5] check-in: [4b58a7b8] user: drh branch: experimental, size: 16855
2010-01-09
22:03
Store passwords in USER.PW as either cleartext (as is done in legacy) or as the SHA1 hash of the password. When changing a password or adding a new user, always use the SHA1 hash password. file: [85d64562] check-in: [cfe33dcf] user: drh branch: experimental, size: 15292
2009-09-30
23:24
Promote the "sha1sum" command to a first-class fully documented command. file: [30e74752] check-in: [c83c1110] user: drh branch: trunk, size: 14890
2007-10-23
16:35
Get rid of the (silly?) int_least16_t type in sha1.c and just use good old "int" instead. Makes things easier to compile on older systems. file: [7f2336da] check-in: [8fb641e0] user: drh branch: trunk, size: 14868
16:30
Add a #include of <sys/types.h> to sha1.c. I am told this help it to compile on BSD systems. file: [c47a3f3a] check-in: [17486c35] user: drh branch: trunk, size: 14950
2007-07-21
14:10
Initial check-in of m1 sources. file: [2a394ff1] check-in: [dbda8d6c] user: drh branch: trunk, size: 14927 Added