]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/radius/radius.cpp
Shabang added to example scripts
[stg.git] / projects / stargazer / plugins / other / radius / radius.cpp
index c0b70e725d91c9eebe7d6ab2654cd23048499b8f..9c5ab1db128c9b28dc36d4c0d9c82ee4fec77774 100644 (file)
@@ -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)