14 Aug 2006 saju   » (Apprentice)

Dynamic locks for openssl .. hmm are these even used ? I have 2 problems with locks and openssl

  1. No provision for passing user context between lock creation/locking/destroy callbacks
  2. Openssl doesn't care if the callback to lock actually succeded. The return type of the callback is void.

Actually I am struggling with (1) right now. As part of another project, I am writing Apache Portable Runtime (apr) ssl wrappers over openssl api's (well over some of them) and I would very much like to allocate memory for dynamic locks from a caller supplied pool but the openssl callback semantics for dyna locking don't allow this. Grrr

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!