summaryrefslogtreecommitdiff
path: root/src/sbearssl/sbearssl_drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbearssl/sbearssl_drop.c')
-rw-r--r--src/sbearssl/sbearssl_drop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbearssl/sbearssl_drop.c b/src/sbearssl/sbearssl_drop.c
index 2d826af..31e5f49 100644
--- a/src/sbearssl/sbearssl_drop.c
+++ b/src/sbearssl/sbearssl_drop.c
@@ -12,8 +12,8 @@ void sbearssl_drop (void)
{
if (!getuid())
{
- uid_t uid ;
- gid_t gid ;
+ uid_t uid = 0 ;
+ gid_t gid = 0 ;
char const *x = getenv("TLS_UID") ;
if (x && !uid0_scan(x, &uid)) strerr_dieinvalid(100, "TLS_UID") ;
x = getenv("TLS_GID") ;