Commit Graph

14 Commits

Author SHA1 Message Date
Nikita Popov
4b5e824aae Use unsigned char in _crypt_extended_r
Avoid signed shift UB.
2019-06-19 15:09:00 +02:00
Peter Kokot
8d3f8ca12a Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Dmitry Stogov
9e709e2fa0 Move constants into read-only data segment 2017-12-14 18:43:44 +03:00
Dmitry Stogov
adc95c5114 Fixed compilation warnings 2016-06-23 12:47:06 +03:00
Anatol Belski
84651b32eb fix uninitialized value 2016-03-15 06:43:29 +01:00
Nikita Popov
42e32c33e2 More warning fixes 2015-07-17 21:12:15 +02:00
Stanislav Malyshev
b7a7b1a624 trailing whitespace removal 2015-01-10 15:07:38 -08:00
Stanislav Malyshev
aab49e934d fix CVE-2012-2143 2012-05-29 23:07:04 -07:00
Pierre Joye
4c23ec2b66 - With "extended" hashes, detect and reject invalid "setting" strings.
With "traditional" hashes, support many "reasonable" invalid salts in
  UFC-crypt compatible way, reject the rest of invalid salts. (Solar Designer)
2010-02-22 00:05:02 +00:00
Jani Taskinen
505ad55773 MFH 2008-08-25 13:42:55 +00:00
Pierre Joye
37a37d8743 - MFB: fix build (common inline definition will be done later) 2008-08-23 20:42:18 +00:00
Arnaud Le Blanc
569ea28207 MFH: Fix build on solaris 2008-08-23 13:57:19 +00:00
Pierre Joye
d4b0beb322 - MFH: vc6 is picky about brackets when used with a defined type... 2008-07-28 16:33:17 +00:00
Pierre Joye
1e820eca02 -MFH:
- #45430, windows implementation of crypt is not TS
 - add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
 - Make crypt features portable:
   - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
   - if one algo is missing, php's implemetation is used
   - Windows always use php's implementation
 - removed old code in windows/
2008-07-28 11:50:35 +00:00