On Wed, 1 Jul 2009, David McCullough wrote:
> Jivin Tim Rice lays it down ...
> > On Tue, 30 Jun 2009, David McCullough wrote:
> >
> > >
> > > Cleanup some compile time warnings/magic numbers.
> > >
> > > ---
> > > diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
> > > index 186eb36..1e5d3a3 100644
> > > --- a/crypto/engine/eng_cryptodev.c
> > > +++ b/crypto/engine/eng_cryptodev.c
> > > @@ -70,9 +70,9 @@ struct dev_crypto_state {
> > > int d_fd;
> > >
> > > #ifdef USE_CRYPTODEV_DIGESTS
> > > - char dummy_mac_key[20];
> > > + char dummy_mac_key[HASH_MAX_LEN];
> > [snip]
> >
> > Where is HASH_MAX_LEN defined?
>
> It comes from the "cryptodev.h" provided by *BSD and ocf-linux,
Sorry, my brain must not have been fully awake on my last post.
I was thinking that that code would fail on platforms that don't
have HASH_MAX_LEN defined but there staring me in the face is the
fact that it's warped in a #ifdef USE_CRYPTODEV_DIGESTS.
Oh well, back to the paying work.
> Cheers,
> Davidm
>
>
--
Tim Rice Multitalents (707) 887-1469
[email protected]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]