[#SSL_CTX_set_block_padding]
= SSL&lowbar;CTX&lowbar;set&lowbar;block&lowbar;padding
:mrdocs:

Pad TLS 1&period;3 records written from a context up to a multiple of a block size&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CTX&lowbar;set&lowbar;block&lowbar;padding(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    size&lowbar;t block&lowbar;size);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose default block padding is set (copied to new SSL objects)&period;
| *block&lowbar;size*
| Padding multiple&semi; 0 or 1 disables block padding (max SSL3&lowbar;RT&lowbar;MAX&lowbar;PLAIN&lowbar;LENGTH)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
