Re: Microsoft Visual C++

2008-10-14 Thread Michael Luich
So you should use > the other version of compiler instead. > > 2008/10/11 Michael Luich <[EMAIL PROTECTED]> > > On Fri, Oct 10, 2008 at 9:25 PM, Thomas J. Hruska >> <[EMAIL PROTECTED]> wrote: >> > Michael Luich wrote: >> >> >> >

using applink.c

2008-10-14 Thread Michael Luich
So I've spent all week trying to find the answer to no success. I've downloaded and installed the precompiled openssl binaries for windows. My app includes the line: #include and compiles correctly. The app runs until openssl code is accessed. Then I get: OPENSSL_Uplink(058A1010,05): no OPENSSL

Re: Microsoft Visual C++

2008-10-13 Thread Michael Luich
On Fri, Oct 10, 2008 at 9:25 PM, Thomas J. Hruska <[EMAIL PROTECTED]> wrote: > Michael Luich wrote: >> >> Hello, >>I'm trying to compile in Microsoft Visual C++ Express and I'm getting >> linker errors like: >> >> error LNK2019: unre

Re: Microsoft Visual C++

2008-10-11 Thread Michael Luich
type under properties -> configuration properties -> C/C++ -> code generation Mike Luich On Fri, Oct 10, 2008 at 9:25 PM, Thomas J. Hruska < [EMAIL PROTECTED]> wrote: > Michael Luich wrote: > >> Hello, >>I'm trying to compile in Microsoft Visual C++ Expres

Microsoft Visual C++

2008-10-10 Thread Michael Luich
Hello, I'm trying to compile in Microsoft Visual C++ Express and I'm getting linker errors like: error LNK2019: unresolved external symbol _BIO_gets referenced in function "char * __cdecl sr_encrypt(char *,struct _iobuf *)" (?sr_encrypt@ @YAPADPADPAU_iobuf@@@Z) I got the header files all setu

Re: Null termination after encryption.

2008-08-29 Thread Michael Luich
Ok that makes sense. kinda goes with what I had been thinking, So i just add the null character at the end of the bio before I use BIO_get_mem_data(out, &enc_msg); now just how to do that . ssl bio write mike Luich On Fri, Aug 29, 2008 at 1:35 PM, David Schwartz <[EMAIL PROTECTED]>wrote: > >

Re: Null termination after encryption.

2008-08-29 Thread Michael Luich
Hmm then perhaps I'm expecting the wong thing to be coming out. I'm using PKCS7_encrypt followed by SMIME_write_PKCS7. So the data is base64 encoded and in S/MIME Format. I just want to get this in a format that I can return as a string that's null terminated. So the app can use it as a string. M

Null termination after encryption.

2008-08-29 Thread Michael Luich
Hello everyone, here's what's driving me nuts. I'm sure i'm missing something simple, but why isn't the encrypted message coming out of " BIO_get_mem_data(out, &enc_msg); " Null terminated ? Full code below. Mike Luich fprintf (stderr, "ENTER: %s in %s, line %d.\n", __