From: Jeffrey Altman <[EMAIL PROTECTED]>
jaltman> This is indeed a serious problem. Every structure that is needed by
jaltman> the library should be allocated as dynamic memory. X509_STORE_CTX
jaltman> should be declared as something like
jaltman>
jaltman> typedef struct _x509_store_ctx * X509_STORE_CTX;
jaltman>
jaltman> so that
jaltman>
jaltman> X509_STORE_CTX_init(&ctx,...);
I agree that going for dynamic memory is the right thing to do.
However, I don't believe the method above is a good one. Why?
Because it's aimed at making the transition as painless as possible,
and will lead to memory hogs among the programs whose authors don't
pay enough attention. If we change the behavior, let's change the
API while we're at it, so it won't go unnoticed!
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-161 43 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
Re: OpenSSL nasty shared library issue...
Richard Levitte - VMS Whacker Wed, 27 Oct 1999 14:16:02 -0700
- OpenSSL nasty shared library issue... Dr Stephen Henson
- Re: OpenSSL nasty shared library issue.... Richard Levitte - VMS Whacker
- Re: OpenSSL nasty shared library issue.... Bodo Moeller
- Re: OpenSSL nasty shared library is... Richard Levitte - VMS Whacker
- Re: OpenSSL nasty shared librar... Bodo Moeller
- Re: OpenSSL nasty shared li... Richard Levitte - VMS Whacker
- Re: OpenSSL nasty shar... Ben Laurie
- Re: OpenSSL nasty shared library issue.... Jeffrey Altman
- Re: OpenSSL nasty shared library is... Richard Levitte - VMS Whacker
- Re: OpenSSL nasty shared librar... Dr Stephen Henson
- Re: OpenSSL nasty shared li... Arne Ansper
- Re: OpenSSL nasty shared library issue.... Jeffrey Altman
- RE: OpenSSL nasty shared library issue.... Salz, Rich
- RE: OpenSSL nasty shared library is... Richard Levitte - VMS Whacker
- RE: OpenSSL nasty shared library issue.... Salz, Rich
- RE: OpenSSL nasty shared library is... Richard Levitte - VMS Whacker
- RE: OpenSSL nasty shared librar... Geoff Thorpe
