https://bugs.exim.org/show_bug.cgi?id=2805

--- Comment #2 from jannik.hoell...@gmail.com ---
The example on the manpage includes the length since it's an example for the
protocol/wire format.

The 'out' variable itself is not in that format since it's only a single
protocol, it can point to a part of in though.

See:
"The in, inlen parameters are a vector in protocol-list format. The value of
the out, outlen vector should be set to the value of a single protocol selected
from the in, inlen vector. The out buffer may point directly into in, or to a
buffer that outlives the handshake"

Also:
"For the callback itself, out must be set to point to the selected protocol
(which may be within in)"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to