7 Commits

Author SHA1 Message Date
babf774013 PR feedback 2024-09-17 20:36:09 -07:00
a5a15a54ff Change setting to "allowed auth methods"
This allows plaintext password auth to be disabled altogether
2024-09-10 12:06:24 -04:00
8845138d63 Expiration timestamp instead of valid bit 2024-09-07 13:04:45 -04:00
810ccffd9e Fix bad size calculation due to pointer cast 2024-09-06 11:58:26 -04:00
3c5eefd9c2 Safe handling of TEGid/auth_id strings 2024-09-05 22:56:58 -04:00
c29899f2b9 Add config option for auth cookie support 2024-09-05 13:53:40 -04:00
a38b14b79a Auth cookie support 2024-09-05 13:53:39 -04:00
2 changed files with 3 additions and 4 deletions

2
tdata

Submodule tdata updated: bdb611b092...8c98c83682

View File

@@ -22,14 +22,13 @@
#endif
#include <errno.h>
#if defined(_WIN32) || defined(_WIN64)
// On windows we need to generate random bytes differently.
#if defined(_WIN32) && !defined(_WIN64)
typedef __int32 ssize_t;
#elif defined(_WIN32) && defined(_WIN64)
typedef __int64 ssize_t;
#endif
#if defined(_WIN32) || defined(_WIN64)
// On windows we need to generate random bytes differently.
#define BCRYPT_HASHSIZE 60
#include "bcrypt.h"