SSL_CTX_load_verify_mem
int SSL_CTX_load_verify_mem(SSL_CTX *ctx, void *buf, int len);
if (SSL_CTX_load_verify_mem(ssl_ctx, ca_mem, ca_len) != 1) {