Lines Matching refs:error
6 OSSL_ERR_STATE_restore, OSSL_ERR_STATE_free - saving and restoring error state
20 These functions save and restore the error state from the thread
21 local error state to a preallocated error state structure.
23 OSSL_ERR_STATE_new() allocates an empty error state structure to
24 be used when saving and restoring thread error state.
26 OSSL_ERR_STATE_save() saves the thread error state to I<es>. It
27 subsequently clears the thread error state. Any previously saved
32 to I<es> and removed from the thread error state. However, the most recent
33 marked ERR and any ERR state before it remains part of the thread error state
37 the marked ERR as the top error, either of these functions will have the same
38 effect.) If there is no marked ERR in the thread local error state, all ERR
42 OSSL_ERR_STATE_restore() adds all the error entries from the
43 saved state I<es> to the thread error state. Existing entries in
44 the thread error state are not affected if there is enough space
45 for all the added entries. Any allocated data in the saved error
48 OSSL_ERR_STATE_free() frees the saved error state I<es>.
54 structure or NULL on error.
62 over any allocated data from the thread error state.
66 Because it manipulates the thread error state it avoids raising memory
67 errors on such failure. At worst the restored error entries will be
68 missing the auxiliary error data.