Introduce semi-opaque OPENCONNECT_X509 type in library API
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 29 May 2012 15:41:35 +0000 (16:41 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 29 May 2012 15:41:35 +0000 (16:41 +0100)
commite3ebe90dea6559effe4b00991b29bd778b122051
tree17b9e68ef3f2eb5bc6e850e40117c901cb492902
parentd8995a70ebb105ee05edc442b3239f42574e8601
Introduce semi-opaque OPENCONNECT_X509 type in library API

We offer functions to do everything that a user might want to do with the
cert, including one that returns it in DER form. The *only* reason this
isn't a completely opaque type is backward-compatibility.

When we change the soname, it'll be opaque. For now, let it actually be
an X509* for OpenSSL or a gnutls_x509_crt_t for GnuTLS.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
library.c
main.c
openconnect-internal.h
openconnect.h