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:44:53 +0000 (12:44 +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 edf24752fa3c59994e2825a76226a599f699fb1a..f48541171c5f1b4d4de462b88218623fac7f1575 100644 (file)
@@ -20,7 +20,7 @@
  * 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