summary refs log tree commit diff stats
path: root/src/common/util.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-09-04 17:34:57 -0400
committerTingPing <tingping@tingping.se>2013-09-07 18:59:29 -0400
commitbdb18828e36340c1800a0eec9f4b5edc6ffae2b2 (patch)
treed6235e8c84112a0ceb72a6037304752d47ef47dc /src/common/util.c
parenta903f16c68dbcdf812d2e47e2cc3caff34d99176 (diff)
Disable challangeauth without openssl
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 374da6e5..9771b1f6 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2210,6 +2210,7 @@ find_font (const char *fontname)
 }
 #endif
 
+#ifdef USE_OPENSSL
 static char *
 str_sha256hash (char *string)
 {
@@ -2285,3 +2286,4 @@ challengeauth_response (char *username, char *password, char *challenge)
 
 	return (char *) digest;
 }
+#endif