From 09ecc0427552da9c036b3bd19b9e63bf543cef74 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 31 May 2012 23:14:53 +0100 Subject: [PATCH] Bump API version, advertise get_cert_DER() and get_cert_details() functions Signed-off-by: David Woodhouse --- libopenconnect.map.in | 8 ++++++-- openconnect.h | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libopenconnect.map.in b/libopenconnect.map.in index 974d910..f341e8e 100644 --- a/libopenconnect.map.in +++ b/libopenconnect.map.in @@ -44,6 +44,12 @@ OPENCONNECT_1.4 { openconnect_set_cancel_fd; } OPENCONNECT_1.3; +OPENCONNECT_1.5 { + global: + openconnect_get_cert_details; + openconnect_get_cert_DER; +} OPENCONNECT_1.4; + OPENCONNECT_PRIVATE { global: @SYMVER_TIME@ @SYMVER_ASPRINTF@ @SYMVER_GETLINE@ openconnect_SSL_gets; @@ -54,8 +60,6 @@ OPENCONNECT_PRIVATE { openconnect_version_str; openconnect_create_useragent; openconnect_report_ssl_errors; - openconnect_get_cert_details; - openconnect_get_cert_DER; openconnect_sha1; openconnect_random; }; diff --git a/openconnect.h b/openconnect.h index 917c4fa..4107f15 100644 --- a/openconnect.h +++ b/openconnect.h @@ -31,9 +31,12 @@ #include #define OPENCONNECT_API_VERSION_MAJOR 1 -#define OPENCONNECT_API_VERSION_MINOR 4 +#define OPENCONNECT_API_VERSION_MINOR 5 /* + * API version 1.5: + * - Add openconnect_get_cert_details(), openconnect_get_cert_DER(). + * * API version 1.4: * - Add openconnect_set_cancel_fd() * -- 2.7.4