[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] living without global variables
From: |
Bryan Henderson |
Subject: |
Re: [gnutls-dev] living without global variables |
Date: |
Mon, 26 Dec 2005 18:25:59 -0000 |
>if you want to do something like that you have to change
>all the x509 parsing functions to accept the "so called" session group.
I see. I suspected there'd be something outside of session context
like this that uses the global variables. So those functions would
have to have private-context versions as well. (The name "session
group" is not great, but I couldn't think of a better name for the
context -- I believe the whole point of using GnuTLS is to make
sessions, so that's where I got that. I notice OpenSSL just gives up
and calls it "context"!
>So as far as you are concerned gnutls sessions are thread safe, except
>for the libgcrypt part of course.
I agree the sessions are thread safe. The problem I'm having is with
gnutls_global_init() not being thread safe.
>except for the libgcrypt part of course.
libgcrypt is in the same boat? I was afraid of that.
--
Bryan Henderson Phone 408-621-2000
San Jose, California
- [gnutls-dev] Re: living without global variables, (continued)
- [gnutls-dev] Re: living without global variables, Nikos Mavrogiannopoulos, 2005/12/23
- [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/24
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/25
- [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/25
- [gnutls-dev] Re: living without global variables, Nikos Mavrogiannopoulos, 2005/12/26
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/26
- Re: [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/26
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/28
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/26
Re: [gnutls-dev] living without global variables, Nikos Mavrogiannopoulos, 2005/12/26
- Re: [gnutls-dev] living without global variables,
Bryan Henderson <=