What global object I use in application lifetime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux