I found my problem.  My initialization vector was too short.  I remembered
that it needed to be a multiple of 8 (I think) and that it needed to have a
minimum length...

Mike

Mike Gagnon ([EMAIL PROTECTED]) wrote*:
>
> Hello Ken,
>
> Very nice of you to take the time out to write to me.  Thanks a lot, I
> appreciate it very much.  I read the article you pointed me to.  It's a good
> one.
>
> I think it might be the uninitialized variable reason you mentionned.  I was
> hoping there was some OpenSSL library initialization call I was forgetting...
>
> Cheers and many thanks,
> Mike
>
> Ken Goldman ([EMAIL PROTECTED]) wrote*:
> >
> > > From: "Mike Gagnon" <[EMAIL PROTECTED]>
> > > Date: Sun, 08 May 2005 21:27:31 +0000
> > >
> > > I'm zeroing in on my problem.
> > >
> > > Encryption / decryption WORKS in DEBUG in the Visual C++ IDE BUT NOT when 
> > > run
> > > from windows explorer.
> > >
> > > Also doesn't work at all in release mode.  I tried turning off 
> > > optimization
> > > and that didn't help.
> > >
> > > Any ideas / suggestions?
> >
> > This is not specific to openSSL, but I find it's generally one of:
> >
> > - there's a buffer overflow affecting a local variable, and debug mode
> >   puts extra variables on the stack that are affected instead of the
> >   important one.
> >
> > - there's an uninitialized variable that debug mode helpfully (?) is
> >   initializing for you.
> >
> > Try this link as well:
> >
> > http://www.codeproject.com/debug/releasemode.asp
> >
> >
> >
>
>
> // This email is sent by a U2.com member. U2, Signatures Network and their 
> respective
> affiliates and principals are not responsible in any way for,  and do not 
> sponsor,
> authorize,  or endorse the contents of this email.
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>
>


// This email is sent by a U2.com member. U2, Signatures Network and their 
respective affiliates and principals are not responsible in any way for,  and 
do not sponsor, authorize,  or endorse the contents of this email.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to