view src/core/ngx_crypt.h @ 6154:cca856715722

Upstream: report to error_log when max_fails is reached. This can be useful to understand why "no live upstreams" happens, in particular.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 20 May 2015 22:44:00 +0300
parents d620f497c50f
children
line wrap: on
line source


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#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_ */