Hi
I've implemented a trimmed down version of the ocsp application (apps/ocsp.c)
and when I execute the code, I get a segmentation fault while trying to free
the OCSP_* structures. I've changed the order of the OCSP_*_free calls, but
it always seg faults on one of them. The "free" calls in particular are the ones
at the very end of the function - which represents the successful case. Usually
the second "free" call in the list is the one to seg fault.
I noticed someone had a similar issue a few months back - but I was unable to
send an email to that person to see if there was any resolution to the problem
(title of message thread: "OCSP memory leaks").
Attached is the code sample...
Thanks!
- Dave
<<ocsp_small.c>>
ocsp_small.c
Description: Binary data