commit | c3cd35f96cbb6739dace9906448c5a68f554d96e | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Nov 28 11:04:43 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 28 12:04:16 2017 +0100 |
tree | 90640d64d9ff46820c6663d7b5d6f050d559ed84 | |
parent | b61028549e51b58abdafcf652ee2871767307a62 [diff] |
BUG/MEDIUM: ssl: don't allocate shctx several time The shctx_init() function does not check anymore if the pointer is not NULL, this check must be done is the caller. The consequence was to allocate one shctx per ssl bind. Bug introduced by 4f45bb9 ("MEDIUM: shctx: separate ssl and shctx") Thanks to Maciej Zdeb for reporting this bug. Must be backported to 1.8.