ERR_load_strings

Register a mutable ERR_STRING_DATA table for library lib.

Synopsis

Declared in <openssl/err.h>

int
ERR_load_strings(
    int lib,
    ERR_STRING_DATA* str);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
libERR_LIB_* library number the strings belong to.
strArray of {error, string} pairs terminated by {0, NULL}.