nghttpx: Don't copy ticket_keys std::shared_ptr

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-08 21:49:19 +09:00
parent 0173929538
commit 689e8c0ee3
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ namespace {
int ticket_key_cb(SSL *ssl, unsigned char *key_name, unsigned char *iv,
EVP_CIPHER_CTX *ctx, HMAC_CTX *hctx, int enc) {
auto handler = static_cast<ClientHandler *>(SSL_get_app_data(ssl));
auto ticket_keys = worker_config->ticket_keys;
const auto &ticket_keys = worker_config->ticket_keys;
if (!ticket_keys) {
// No ticket keys available.