aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_crypt.h')
-rw-r--r--src/core/ngx_crypt.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/ngx_crypt.h b/src/core/ngx_crypt.h
new file mode 100644
index 000000000..45ef81d4b
--- /dev/null
+++ b/src/core/ngx_crypt.h
@@ -0,0 +1,19 @@
+
+/*
+ * Copyright (C) Igor Sysoev
+ */
+
+
+#ifndef _NGX_CRYPT_H_INCLUDED_
+#define _NGX_CRYPT_H_INCLUDED_
+
+
+#include <ngx_config.h>
+#include <ngx_core.h>
+
+
+ngx_int_t ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
+ u_char **encrypted);
+
+
+#endif /* _NGX_CRYPT_H_INCLUDED_ */