view src/os/win32/ngx_user.c @ 4186:cce2fd0acc0f

Releasing memory of idle SSL connection. This saves about 34K per SSL connection. The SSL_MODE_RELEASE_BUFFERS option is available since OpenSSL 1.0.0d.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 07 Oct 2011 12:15:20 +0000
parents 9c057d5e1c27
children d620f497c50f
line wrap: on
line source

/*
 * Copyright (C) Igor Sysoev
 */


#include <ngx_config.h>
#include <ngx_core.h>


#if (NGX_CRYPT)

ngx_int_t
ngx_libc_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 */