commit | 8d0f893222edac7495c525f82c05a640ff9adba8 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Thu Oct 17 18:03:58 2019 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Oct 23 11:54:51 2019 +0200 |
tree | 670ec5adaede40d373bb8a835945e42ac542a215 | |
parent | 455af50facb33ba25f8ef39940dd3c69dafd19a6 [diff] |
MINOR: ssl: copy a ckch from src to dst ssl_sock_copy_cert_key_and_chain() copy the content of a <src> cert_key_and_chain to a <dst>. It applies a refcount increasing on every SSL structures (X509, DH, privte key..) and allocate new buffers for the other fields.