Mercurial > hg > nginx-quic
comparison src/event/ngx_event_openssl_stapling.c @ 5317:f1a91825730a
Replaced ngx_conf_full_name() with ngx_get_full_name().
The ngx_get_full_name() function takes more readable arguments list.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 06 Aug 2013 19:58:40 +0400 |
parents | 05ba5bce31e0 |
children | 314c3d7cc3a5 |
comparison
equal
deleted
inserted
replaced
5316:12dd27b74117 | 5317:f1a91825730a |
---|---|
195 OCSP_RESPONSE *response; | 195 OCSP_RESPONSE *response; |
196 ngx_ssl_stapling_t *staple; | 196 ngx_ssl_stapling_t *staple; |
197 | 197 |
198 staple = SSL_CTX_get_ex_data(ssl->ctx, ngx_ssl_stapling_index); | 198 staple = SSL_CTX_get_ex_data(ssl->ctx, ngx_ssl_stapling_index); |
199 | 199 |
200 if (ngx_conf_full_name(cf->cycle, file, 1) != NGX_OK) { | 200 if (ngx_get_full_name(cf->pool, &cf->cycle->conf_prefix, file) != NGX_OK) { |
201 return NGX_ERROR; | 201 return NGX_ERROR; |
202 } | 202 } |
203 | 203 |
204 bio = BIO_new_file((char *) file->data, "r"); | 204 bio = BIO_new_file((char *) file->data, "r"); |
205 if (bio == NULL) { | 205 if (bio == NULL) { |