curl-and-python

Patch for CERTINFO support

From: Nathan E. Moore <nate_at_redtetrahedron.org>
Date: Sat, 13 Feb 2010 12:37:12 -0500

Attached is a patch to add CERTINFO support to pycurl and a very simple
demo.

Support is added in the form of two new constants: OPT_CERTINFO and
INFO_CERTINFO. The OPT_ and INFO_ prefixes are also used for the
existing FILETIME support.

The result of a getinfo(INFO_CERTINFO) call is a tuple of dicts.

This patch will at least compile and run the provided demo on both
Windows (MSVC9) and Linux (gcc 4.3.3-5ubuntu4)

-Nathan

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python

Received on 2010-02-13