aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_user.c')
-rw-r--r--src/os/win32/ngx_user.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/os/win32/ngx_user.c b/src/os/win32/ngx_user.c
new file mode 100644
index 000000000..cc0760301
--- /dev/null
+++ b/src/os/win32/ngx_user.c
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) Igor Sysoev
+ */
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+
+
+#if (NGX_CRYPT)
+
+ngx_int_t
+ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted)
+{
+ /* STUB: a plain text password */
+
+ *encrypted = key;
+
+ return NGX_OK;
+}
+
+#endif /* NGX_CRYPT */