<div dir="ltr">I made this issue on LibreSSL's github... <div><a href="https://github.com/libressl-portable/portable/issues/537" target="_blank">https://github.com/libressl-portable/portable/issues/537</a> </div><div><br></div><div>It's about ...</div><div><br></div><div style="box-sizing:border-box;padding:16px 0px;display:flex;margin-left:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><div id="m_-7100246340185766337m_-8744187394344712138gmail-issue-460142875" style="box-sizing:border-box;margin-top:4px;min-width:0px;max-width:100%;color:rgb(68,77,86);margin-bottom:0px"><div style="box-sizing:border-box;color:rgb(36,41,46);border:1px solid rgb(192,211,235);border-radius:3px"><div style="box-sizing:border-box"><span style="box-sizing:border-box"><table style="box-sizing:border-box;border-spacing:0px;border-collapse:collapse;display:block"><tbody style="box-sizing:border-box;display:block"><tr style="box-sizing:border-box;display:block"><td style="box-sizing:border-box;padding:15px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.5;width:677px;overflow:visible;display:block"><p style="box-sizing:border-box;margin-bottom:16px;margin-top:0px">TLSEXT_TYPE_psk_kex_modes:</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px">from openssl/tls1.h 1.1.1b</p><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;padding:0px;margin:0px;background:initial;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit"># define TLSEXT_TYPE_psk_kex_modes               45
</code></pre><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px">from libressl/2.9.2 tls1.h</p><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px;margin-top:0px;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;margin-bottom:0px"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;padding:0px;margin:0px;background:initial;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit">#define TLSEXT_TYPE_psk_key_exchange_modes        45
</code></pre></td></tr></tbody></table></span></div><form action="https://github.com/libressl-portable/portable/issues/537" method="post" style="box-sizing:border-box" target="_blank"></form></div></div></div><div id="m_-7100246340185766337m_-8744187394344712138gmail-js-timeline-progressive-loader" style="box-sizing:border-box;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"></div><div style="box-sizing:border-box;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><div style="box-sizing:border-box;display:flex;padding:16px 0px;margin-left:16px"><a href="https://tools.ietf.org/html/rfc8446#section-4.2" target="_blank"><div style="box-sizing:border-box;display:flex;padding:16px 0px;margin-left:16px">They argue that the names they defined follow the RFC</div></a><div style="box-sizing:border-box;display:flex;padding:16px 0px;margin-left:16px"><a href="https://tools.ietf.org/html/rfc8446#section-4.2" target="_blank"></a><a href="https://tools.ietf.org/html/rfc8446#section-4.2" target="_blank">https://tools.ietf.org/html/rfc8446#section-4.2</a><a href="https://tools.ietf.org/html/rfc8446#section-4.2" target="_blank"><br></a><a href="https://tools.ietf.org/html/rfc8446#section-4.2" target="_blank"><br></a><a href="https://tools.ietf.org/html/rfc8446#section-4.2" target="_blank"></a></div></div></div><div> <span style="color:rgb(0,0,0);font-size:13.3333px">pre_shared_key(41), </span><span style="color:rgb(0,0,0);font-size:13.3333px">psk_key_exchange_modes(45), </span><br></div><div><span style="color:rgb(0,0,0);font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-size:13.3333px">are what the names should be based on, and that OpenSSL's definition is also inaccurate</span></div>TLSEXT_TYPE_psk_kex_modes <br> TLSEXT_TYPE_psk<div><a href="https://github.com/openssl/openssl/blob/master/include/openssl/tls1.h#L143-L147">https://github.com/openssl/openssl/blob/master/include/openssl/tls1.h#L143-L147</a>  <span style="color:rgb(0,0,0);font-size:13.3333px"><br></span></div><div><br></div><div>instead of 'pre_shared_key' and 'key_exchange_modes'</div><div><br></div><div><br></div><div>(sorry, this looks kind of ragged, get what I'm sayin?)</div><div><br></div></div>