view src/core/ngx_crypt.h @ 7254:1fd992589ffe

Core: fixed build, broken by 63e91f263a49. Both Solaris and Windows define "s_addr" as a macro.
author Vladimir Homutov <vl@nginx.com>
date Mon, 02 Apr 2018 20:38:43 +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_ */