mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-21 13:59:40 +00:00
Set length to 41 (40 hex characters + null).
This commit is contained in:
parent
b93e331ba4
commit
6909dccc32
@ -68,7 +68,7 @@
|
|||||||
#define HMAC_SHA1_SIG "?have to make sure this string is unique"
|
#define HMAC_SHA1_SIG "?have to make sure this string is unique"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const unsigned char FINGERPRINT_ascii_value[40] = HMAC_SHA1_SIG;
|
static const unsigned char FINGERPRINT_ascii_value[41] = HMAC_SHA1_SIG;
|
||||||
|
|
||||||
#define atox(c) ((c)>='a'?((c)-'a'+10):((c)>='A'?(c)-'A'+10:(c)-'0'))
|
#define atox(c) ((c)>='a'?((c)-'a'+10):((c)>='A'?(c)-'A'+10:(c)-'0'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user