Skip to content

Instantly share code, notes, and snippets.

View shankarunni's full-sized avatar

Shankar Unni shankarunni

  • United States
View GitHub Profile
--- a/pam_tacplus.c 2016-05-29 19:01:30.000000000 -0700
+++ b/pam_tacplus.c 2016-06-06 10:46:46.377343811 -0700
@@ -41,6 +41,12 @@
#include "config.h"
#endif
+#if defined(HAVE_OPENSSL_RAND_H) && defined(HAVE_LIBCRYPTO)
+# include <openssl/rand.h>
+#else
+# include "magic.h"