[#OSSL_CMP_CTX_set1_referenceValue] = OSSL_CMP_CTX_set1_referenceValue :mrdocs: Set the reference value used for password‐based CMP message protection. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_CTX_set1_referenceValue( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, unsigned char const* ref, int len); ---- == Return Value 1 on success, 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context. | *ref* | Reference octets copied into the context. | *len* | Length of `ref` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#