mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-15 13:48:16 +00:00
ifdef this out
This commit is contained in:
@ -157,7 +157,9 @@ PostgreSQL::PostgreSQL(const Identity &myId, const char *path, int listenPort, R
|
|||||||
|
|
||||||
memset(_ssoPsk, 0, sizeof(_ssoPsk));
|
memset(_ssoPsk, 0, sizeof(_ssoPsk));
|
||||||
char *const ssoPskHex = getenv("ZT_SSO_PSK");
|
char *const ssoPskHex = getenv("ZT_SSO_PSK");
|
||||||
|
#ifdef ZT_TRACE
|
||||||
fprintf(stderr, "ZT_SSO_PSK: %s\n", ssoPskHex);
|
fprintf(stderr, "ZT_SSO_PSK: %s\n", ssoPskHex);
|
||||||
|
#endif
|
||||||
if (ssoPskHex) {
|
if (ssoPskHex) {
|
||||||
// SECURITY: note that ssoPskHex will always be null-terminated if libc acatually
|
// SECURITY: note that ssoPskHex will always be null-terminated if libc acatually
|
||||||
// returns something non-NULL. If the hex encodes something shorter than 48 bytes,
|
// returns something non-NULL. If the hex encodes something shorter than 48 bytes,
|
||||||
|
Reference in New Issue
Block a user