[#OSSL_SELF_TEST_oncorrupt_byte] = OSSL_SELF_TEST_oncorrupt_byte :mrdocs: Optionally corrupt the first byte of `bytes` when the callback requests failure injection. == Synopsis Declared in `<openssl/self_test.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_SELF_TEST_oncorrupt_byte( xref:OSSL_SELF_TEST.adoc[OSSL_SELF_TEST]* st, unsigned char* bytes); ---- == Return Value 1 if the first byte was corrupted, or 0 if the buffer was left unchanged. == Parameters [cols="1,4"] |=== | Name| Description | *st* | Self‐test object whose callback decides whether to corrupt. | *bytes* | Buffer whose first byte may be altered (phase "Corrupt"). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#