crypt: Use int8 instead of int.

This commit is contained in:
Augustin Cavalier
2018-07-05 22:04:35 -04:00
parent 61e7a6b1f9
commit 49da1d2e3b
+2 -2
View File
@@ -3,7 +3,7 @@
* Distributed under the terms of the MIT License.
*
* Authors:
* Andrew Aldridge, [email protected]
* Andrew Aldridge, [email protected]
*/
@@ -28,7 +28,7 @@
#define CRYPT_OUTPUT_BYTES (6 + 64 + 1 + 64 + 1)
static const char* kHexAlphabet = "0123456789abcdef";
static const int kHexLookup[] = {
static const int8 kHexLookup[] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3,