Re: Hi, I need help with initialization of OpenSSL

2013-10-10 Thread Angelin Lalev
Just to clear everything and finish up. I had global int variable named "read"... On Thu, Oct 10, 2013 at 8:33 PM, Angelin Lalev wrote: > SOLVED: The very basic thing that get's the whole thing broken seems > to be VERY BASIC understanding of C. I did cut out only the >

Re: Hi, I need help with initialization of OpenSSL

2013-10-10 Thread Angelin Lalev
some sort. Thanks very much for the quick reply and sorry for rising any false alarms... On Thu, Oct 10, 2013 at 8:02 PM, Jeff Trawick wrote: > On Thu, Oct 10, 2013 at 12:54 PM, Angelin Lalev > wrote: >> >> (gdb) r >> Starting program: /home/ventsi/fing/fing >

Re: Hi, I need help with initialization of OpenSSL

2013-10-10 Thread Angelin Lalev
I tried many things, but I'm not sure if I did the most elementary - to reboot the virtual machine. But If the problem is gone this way, we cannot reproduce the problem anymore On Thu, Oct 10, 2013 at 7:54 PM, Angelin Lalev wrote: > (gdb) r > Starting program: /home/ventsi/fing/fing

Re: Hi, I need help with initialization of OpenSSL

2013-10-10 Thread Angelin Lalev
ick wrote: > On Thu, Oct 10, 2013 at 11:50 AM, Angelin Lalev > wrote: >> >> Greetings, >> I could use some help. >> >> I'm getting segmentation fault from this code: >> >>/* Init the openssl library */ >> SSL_load_error_st

Hi, I need help with initialization of OpenSSL

2013-10-10 Thread Angelin Lalev
Greetings, I could use some help. I'm getting segmentation fault from this code: /* Init the openssl library */ SSL_load_error_strings(); SSL_library_init(); ctx=SSL_CTX_new(SSLv3_client_method()); The backtrace looks like this: Program received signal SIGSEGV, S

Re: Hi, I need help with initialization of OpenSSL

2013-10-10 Thread Angelin Lalev
I forgot to state the version of OpenSSL I'm using. It's 1.0.1e On Thu, Oct 10, 2013 at 6:50 PM, Angelin Lalev wrote: > Greetings, > I could use some help. > > I'm getting segmentation fault from this code: > >/* Init the openssl library */

Re: Certificate chain question

2013-02-10 Thread Angelin Lalev
), > then set as trusted only the (on end) correct pop3.live.com certificate and > you do not need to take care about intermediate issuer. > > DNSsec as mandatory could help too. And use "chattr +i" on > /etc/hosts; host.conf; resolv.conf > > --kapetr > &g

Certificate chain question

2013-02-09 Thread Angelin Lalev
I'm not a professional C programmer, but I occasionaly use C to create administrative "scripts". I'm sorry if I'm asking for anything trivial and will be very thankful if You direct me to the relevant documentation. The question: I'm trying to obtain SSL certificate for POP3S server of live.com to