[#SSL_client_hello_get0_ext] = SSL_client_hello_get0_ext :mrdocs: Return a pointer to a specific extension's payload in a parsed ClientHello. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_client_hello_get0_ext( xref:SSL.adoc[SSL]* s, unsigned int type, unsigned char const** out, size_t* outlen); ---- == Return Value 1 if the extension is present, or 0 otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *s* | Server SSL connection inside a ClientHello callback (or with a parsed ClientHello). | *type* | TLS extension type to look up. | *out* | Set to the extension payload bytes (excluding type/length headers). | *outlen* | Receives the payload length in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#