[#SSL_SESSION_set1_master_key] = SSL_SESSION_set1_master_key :mrdocs: Set the master secret on an SSL session by copying `in.` == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_SESSION_set1_master_key( xref:SSL_SESSION.adoc[SSL_SESSION]* sess, unsigned char const* in, size_t len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *sess* | Session whose master key is replaced. | *in* | Master secret octets. | *len* | Length of `in` in bytes (must be acceptable for the protocol). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#