commit | 0abf836ecb32767fa1f9ad598f3e236e073491bd | [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:39:16 2014 +0200 |
tree | ae5a37b3dac0dcd015f17c62009b7b8e466effb6 | |
parent | 3caf2afabe89fb0ef0886cd1d8ea99ef21ec3491 [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.