commit | 4910098653e356f814924663b4ddf71c971a71d6 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Tue Jun 24 18:26:41 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 24 22:40:02 2014 +0200 |
tree | 8a05dd96c1d58d87b46f2ebc020e3e5cdd36bb3d | |
parent | c1fbbd4a3dd480b4eebbd8b32ca6cdf08791477a [diff] |
BUG/MINOR: ssl: Fix external function in order not to return a pointer on an internal trash buffer. 'ssl_sock_get_common_name' applied to a connection was also renamed 'ssl_sock_get_remote_common_name'. Currently, this function is only used with protocol PROXYv2 to retrieve the client certificate's common name. A further usage could be to retrieve the server certificate's common name on an outgoing connection. (cherry picked from commit 0abf836ecb32767fa1f9ad598f3e236e073491bd)