"Salz, Rich" wrote:
>
> > (a=b) && (a=BN_dup(b));
>
> Oh gak, are we really trying to be clever for its
> own sake?
Yes. Is there something wrong with that? Bear in mind that I was
disussing language architecture, not how OpenSSL should work.
> >But back to the original question. I think it's really
> >Bug and should be handled by BN_dup() internally.
>
> I dunno. I prefer that functions coredump when given
> NULL pointers.
There's already a lot of precedent for being nice about NULL in OpenSSL.
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]