Restrict an open store to a single expected OSSL_STORE_INFO_* type.
Synopsis
Declared in <openssl/store.h>
int
OSSL_STORE_expect(
OSSL_STORE_CTX* ctx,
int expected_type);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
ctx |
Open store context; must be called before the first OSSL_STORE_load(). |
expected_type |
Desired type code, or 0 for unspecified. |
Created with MrDocs