lhash.c: Replace Unicode EN DASH with the ASCII char '-'.
authorLong Qin <qin.long@intel.com>
Tue, 7 Nov 2017 06:59:20 +0000 (14:59 +0800)
committerRichard Levitte <levitte@openssl.org>
Sat, 11 Nov 2017 11:45:01 +0000 (12:45 +0100)
 * addressing", Proc. 6th Conference on Very Large Databases: 212–223
                                                                 ^
The EN DASH ('–') in this line is one UTF-8 character (hex: e2 80 93).
Under some code page setting (e.g. 936), Visual Studio may report C4819
warning: The file contains a character that cannot be represented in the
current code page.

Replace this character with the ASCII char '-' (Hex Code: 2D).

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4691)

(cherry picked from commit b4d0fa49d9d1a43792e58b0c8066bb23b9e53ef4)

crypto/lhash/lhash.c

index f3798872598a44efb25fc25f4eb6480606bf4733..51bb258e74b8ac11758606e7a3d24477264862d6 100644 (file)
  * https://en.wikipedia.org/wiki/Linear_hashing
  *
  * Litwin, Witold (1980), "Linear hashing: A new tool for file and table
- * addressing", Proc. 6th Conference on Very Large Databases: 212223
+ * addressing", Proc. 6th Conference on Very Large Databases: 212-223
  * http://hackthology.com/pdfs/Litwin-1980-Linear_Hashing.pdf
  *
  * From the wikipedia article "Linear hashing is used in the BDB Berkeley