答复: how to load a certs chain from memory, thanks

2012-12-21 Thread 赵峰
} count++ } . } return count; } Best wishes Miles.zhaof -邮件原件- 发件人: owner-openssl-us...@openssl.org [mailto:owner-openssl-users@openssl. org] 代表 Dave Thompson 发送时间: 2012年12月21日 14:01 收件人: openssl-users

how to load a certs chain from memory, thanks

2012-12-21 Thread 赵峰
Hi all, I want to load a certs chain from memory ( ie. From a std::string variable with the certs chain’s content loading from the mysql db ). The content of certs chain is like a CAfile. Because loading from memory, can not call the “SSL_CTX_load_verify_locations” api. So I call “S

RE: how to load a certs chain from memory, thanks

2012-12-20 Thread Dave Thompson
>From: owner-openssl-us...@openssl.org On Behalf Of miles.zh...@aliyun-inc.com >Sent: Thursday, 20 December, 2012 22:10 >I want to load a certs chain from memory ( ie. From a std::string variable >with the certs chain's content loading from the mysql db ). >The content of certs chain is like a C

how to load a certs chain from memory, thanks

2012-12-20 Thread miles.zhaof
Hi all,   I want to load a certs chain from memory ( ie. From a std::string variable with the certs chain’s content loading from the mysql db ).   The content of certs chain is like a CAfile.   Because loading from memory, can not call the “SSL_CTX_load_verify_locations” api.   So I call “SSL_C