[#OSSL_STORE_expect] = OSSL_STORE_expect :mrdocs: Restrict an open store to a single expected OSSL_STORE_INFO_* type. == Synopsis Declared in `<openssl/store.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_STORE_expect( xref:OSSL_STORE_CTX.adoc[OSSL_STORE_CTX]* ctx, int expected_type); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Open store context; must be called before the first OSSL_STORE_load(). | *expected_type* | Desired type code, or 0 for unspecified. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#