[openssl-users] What global object I use in application lifetime

Jerry OELoo oyljerry at gmail.com
Wed Mar 25 03:38:30 UTC 2015

So, I can re-use g_ctx, but I need create a new g_ssl everytime, right?
BTW, X509_STORE *store = X509_STORE_new();  for store, Can I reuse it
as a global object?

On Wed, Mar 25, 2015 at 11:33 AM, Salz, Rich <rsalz at akamai.com> wrote:
>> From document, I think CTX can be initialize only once. But I do not know
>> g_ssl can be initialize only once? I can reuse g_ssl  for 1000 differnt URLs?
>> Please correct me if anything. Thanks!
> You need to create a new SSL object every time you want to do a connect.
>         /r$
> --
> Senior Architect, Akamai Technologies
> IM: richsalz at jabber.at Twitter: RichSalz
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Rejoice,I Desire!

More information about the openssl-users mailing list