X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e59123a3a13f9ffb3af28e85295b6a14c5c8aaca..89047aa554682fcb31ee522bbcc24147a67a63d6:/projects/stargazer/plugins/other/radius/radius.cpp

diff --git a/projects/stargazer/plugins/other/radius/radius.cpp b/projects/stargazer/plugins/other/radius/radius.cpp
index c0b70e72..9c5ab1db 100644
--- a/projects/stargazer/plugins/other/radius/radius.cpp
+++ b/projects/stargazer/plugins/other/radius/radius.cpp
@@ -27,6 +27,7 @@
  */
 
 #include <csignal>
+#include <cerrno>
 #include <algorithm>
 
 #include "radius.h"
@@ -161,6 +162,7 @@ RADIUS::RADIUS()
       store(NULL),
       sock(-1)
 {
+InitEncrypt(&ctx, "");
 }
 //-----------------------------------------------------------------------------
 void RADIUS::SetUsers(USERS * u)