[#SSL_CTX_use_serverinfo_file] = SSL_CTX_use_serverinfo_file :mrdocs: Load PEM‐encoded serverinfo TLS extensions from a file into an SSL context. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_use_serverinfo_file( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char const* file); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose active certificate receives the extensions. | *file* | Path to a PEM file with SERVERINFO or SERVERINFOV2 blocks. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#