diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-05-16 14:54:50 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-05-16 14:54:50 +0000 |
commit | 5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1 (patch) | |
tree | 37bc6eae1d5fa69c41621d03f93d06fb5e7d9dd9 /src/core/ngx_crypt.h | |
parent | ffc72712505da246d7d55300f71693e55a36957d (diff) | |
download | nginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.tar.gz nginx-5dc5945ccf6e64b7b36bb620f4b24e6fdb2364b1.zip |
"$apr1", "{PLAIN}", and "{SSHA}" password methods in auth basic module
patch by Maxim Dounin
Diffstat (limited to 'src/core/ngx_crypt.h')
-rw-r--r-- | src/core/ngx_crypt.h | 19 |
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_ */ |