Unclear how to free 'data' allocated in ERR_get_error_line_data()

2014-01-28 Thread Adam M
Hi, I'm reading the documentation for ERR_get_error_line_data() here: http://www.openssl.org/docs/crypto/ERR_get_error.html The comments say that 'data' is dynamically allocated with OPENSSL_malloc() if the ERR_TXT_MALLOCED bit is set in 'flags'. I presume this means that we need to call

Re: Unclear how to free 'data' allocated in ERR_get_error_line_data()

2014-01-28 Thread Adam M
On Tue, Jan 28, 2014, at 01:41 PM, Dr. Stephen Henson wrote: On Tue, Jan 28, 2014, Adam M wrote: Hi, I'm reading the documentation for ERR_get_error_line_data() here: http://www.openssl.org/docs/crypto/ERR_get_error.html The comments say that 'data' is dynamically allocated

Re: Unclear how to free 'data' allocated in ERR_get_error_line_data()

2014-01-28 Thread Adam M
On Tue, Jan 28, 2014, at 05:18 PM, Dr. Stephen Henson wrote: On Tue, Jan 28, 2014, Adam McLaurin wrote: I suspect this will result in a double free bug, as I don't think memory ownership of 'data' is actually passed back to the caller (which is why it's 'const char**'). The error isn't

Problem with install...Please Help

2009-04-02 Thread Jaber, Adam M CTR DLA J6UIA
Hello, I am trying to install OpenSSL-0.9.8k. I currently have OpenSSL-0.9.8.602. Do I need to remove my older version before I install the new version? Also, I ran a ./config --prefix=/usr/opt/OpenSSL, which came back with NO error. Then when I ran make it gives me the following error: cc:

Re: DTLS examples?

2005-10-23 Thread Adam M
Hi Manuel, Thanks a million for the examples. They look great, and will help me tremendously. -Adam On Sun, 23 Oct 2005 21:09:45 +0200, Manuel Schölling [EMAIL PROTECTED] said: Hi, The DTLS paper keeps talking about how similar it is to TLS, but I haven't really coded TLS either, so

DTLS examples?

2005-10-21 Thread Adam M
Hi all, I'm curious if anyone has any actual DTLS examples kicking around. I'm very interested in giving it a shot, but I haven't found much for API docs or even simple examples. The DTLS paper keeps talking about how similar it is to TLS, but I haven't really coded TLS either, so that doesn't