summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--Makefile.am10
-rw-r--r--NEWS57
-rw-r--r--cfg.mk2
-rw-r--r--doc/Makefile.am129
-rw-r--r--doc/doc.mk2
-rw-r--r--doc/manpages/Makefile.am95
-rw-r--r--symbols.last54
8 files changed, 323 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
index 6b2615a5e9..5485c51026 100644
--- a/.gitignore
+++ b/.gitignore
@@ -697,3 +697,6 @@ tests/global-init
tests/mini-global-load
.submodule.stamp
lib/priority_options.h
+tests/name-constraints
+tests/x509-extensions
+tests/sec-params
diff --git a/Makefile.am b/Makefile.am
index 8114f5078f..71a7d83c80 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,11 +47,11 @@ dist-hook:
make -C doc/ compare-makefile
make -C doc/ compare-exported
make -C doc/manpages compare-makefile
- echo "*****************************************************************"
- echo "Checking symbol changes. If the next step fails, verify that the"
- echo "symbols added or removed are correct and copy symbols.last.tmp as"
- echo "symbols.last"
- echo "*****************************************************************"
+ @echo "*****************************************************************"
+ @echo "Checking symbol changes. If the next step fails, verify that the"
+ @echo "symbols added or removed are correct and copy symbols.last.tmp as"
+ @echo "symbols.last"
+ @echo "*****************************************************************"
objdump -T $(srcdir)/lib/.libs/libgnutls.so.28 | grep -v ' \*UND\*' | awk '{print $$7 "@" $$6;}' | sort -u >symbols.last.tmp
diff -u symbols.last symbols.last.tmp >/dev/null 2>&1
rm -f symbols.last.tmp
diff --git a/NEWS b/NEWS
index a51ea2f9ff..9be609ca96 100644
--- a/NEWS
+++ b/NEWS
@@ -52,8 +52,8 @@ efficiently.
That avoids long delays in gnutls initialization due to broken PKCS #11
modules.
-** libgnutls: The PKCS #11 subsystem is reinitialized automatically when
-a fork is detected.
+** libgnutls: The PKCS #11 subsystem is re-initialized "automatically"
+on the first PKCS #11 API call after a fork.
** libgnutls: Added --enable-fips140-mode configuration option. That
option enables (when running on FIPS140-enabled system):
@@ -112,6 +112,59 @@ gnutls_x509_name_constraints_get_permitted: Added
gnutls_x509_name_constraints_get_excluded: Added
gnutls_x509_name_constraints_check: Added
gnutls_x509_name_constraints_check_crt: Added
+gnutls_x509_crl_get_extension_data2: Added
+gnutls_x509_crt_get_extension_data2: Added
+gnutls_x509_crq_get_extension_data2: Added
+gnutls_subject_alt_names_init: Added
+gnutls_subject_alt_names_deinit: Added
+gnutls_subject_alt_names_get: Added
+gnutls_subject_alt_names_set: Added
+gnutls_x509_ext_get_subject_alt_names: Added
+gnutls_x509_ext_set_subject_alt_names: Added
+gnutls_x509_crl_dist_points_init: Added
+gnutls_x509_crl_dist_points_deinit: Added
+gnutls_x509_crl_dist_points_get: Added
+gnutls_x509_crl_dist_points_set: Added
+gnutls_x509_ext_get_crl_dist_points: Added
+gnutls_x509_ext_set_crl_dist_points: Added
+gnutls_x509_ext_get_name_constraints: Added
+gnutls_x509_ext_set_name_constraints: Added
+gnutls_x509_aia_init: Added
+gnutls_x509_aia_deinit: Added
+gnutls_x509_aia_get: Added
+gnutls_x509_aia_set: Added
+gnutls_x509_ext_get_aia: Added
+gnutls_x509_ext_set_aia: Added
+gnutls_x509_ext_get_subject_key_id: Added
+gnutls_x509_ext_set_subject_key_id: Added
+gnutls_x509_ext_set_authority_key_id: Added
+gnutls_x509_ext_get_authority_key_id: Added
+gnutls_x509_aki_init: Added
+gnutls_x509_aki_get_id: Added
+gnutls_x509_aki_get_cert_issuer: Added
+gnutls_x509_aki_set_id: Added
+gnutls_x509_aki_set_cert_issuer: Added
+gnutls_x509_aki_deinit: Added
+gnutls_x509_ext_get_private_key_usage_period: Added
+gnutls_x509_ext_set_private_key_usage_period: Added
+gnutls_x509_ext_get_basic_constraints: Added
+gnutls_x509_ext_set_basic_constraints: Added
+gnutls_x509_ext_get_key_usage: Added
+gnutls_x509_ext_set_key_usage: Added
+gnutls_x509_ext_get_proxy: Added
+gnutls_x509_ext_set_proxy: Added
+gnutls_x509_policies_init: Added
+gnutls_x509_policies_deinit: Added
+gnutls_x509_policies_get: Added
+gnutls_x509_policies_set: Added
+gnutls_x509_ext_get_policies: Added
+gnutls_x509_ext_set_policies: Added
+gnutls_x509_key_purpose_init: Added
+gnutls_x509_key_purpose_deinit: Added
+gnutls_x509_key_purpose_set: Added
+gnutls_x509_key_purpose_get: Added
+gnutls_x509_ext_get_key_purposes: Added
+gnutls_x509_ext_set_key_purposes: Added
gnutls_digest_self_test: Added (conditionally)
gnutls_mac_self_test: Added (conditionally)
gnutls_pk_self_test: Added (conditionally)
diff --git a/cfg.mk b/cfg.mk
index 6fa62de034..527e5f876d 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -125,7 +125,7 @@ clang-upload:
# Release
ChangeLog:
- git log --pretty --numstat --summary --since="2011 November 07" -- | git2cl > ChangeLog
+ git log --pretty --numstat --summary --since="2012 November 07" -- | git2cl > ChangeLog
cat .clcopying >> ChangeLog
tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
diff --git a/doc/Makefile.am b/doc/Makefile.am
index aa1f2feb5a..7d58861278 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -235,15 +235,17 @@ dane-api.texi: $(top_srcdir)/libdane/includes/gnutls/dane.h
done
mv -f $@-tmp $@
-x509-api.texi: $(top_srcdir)/lib/includes/gnutls/x509.h
+x509-api.texi: $(top_srcdir)/lib/includes/gnutls/x509.h $(top_srcdir)/lib/includes/gnutls/x509-ext.h
echo "" > $@-tmp
- for i in `$(top_srcdir)/doc/scripts/getfuncs.pl < $< |sort |uniq`; do \
+ cat $^ > $@-tmp2
+ for i in `$(top_srcdir)/doc/scripts/getfuncs.pl < $@-tmp2 |sort |uniq`; do \
echo $(ECHO_N) "Creating documentation for $$i... " && \
$(srcdir)/scripts/gdoc -texinfo \
-function $$i \
$(C_SOURCE_FILES) >> $@-tmp 2>/dev/null && \
echo "ok"; \
done
+ rm -f $@-tmp2
mv -f $@-tmp $@
pgp-api.texi: $(top_srcdir)/lib/includes/gnutls/openpgp.h
@@ -426,10 +428,16 @@ compare-exported:
scripts/getfuncs-map.pl <../libdane/libdane.map >>tmp-exp-$@
sort -u tmp-exp-$@ > tmp2-exp-$@
mv tmp2-exp-$@ tmp-exp-$@
+ @echo "******************************************************************************"
+ @echo "If the following step fails there is a symbol in headers that is not exported or vice-versa"
+ @echo "******************************************************************************"
diff -u tmp-exp-$@ tmp-head-$@
rm -f tmp-exp-$@ tmp-head-$@
compare-makefile: enums.texi
+ @echo "******************************************************************************"
+ @echo "If the following step fails copy $(srcdir)/doc/tmp-compare-makefile to doc/Makefile.am"
+ @echo "******************************************************************************"
ENUMS=`grep '^@c ' $< | sed 's/@c //g' | sort -d`; \
STR=""; \
for i in $$ENUMS; do \
@@ -437,9 +445,6 @@ compare-makefile: enums.texi
done; \
grep -v -e '^ENUMS += ' $(srcdir)/Makefile.am | \
perl -p -e "s,^ENUMS =,ENUMS =$$STR," > tmp-$@; \
- echo "******************************************************************************"
- echo "If the following step fails copy $(srcdir)/doc/tmp-compare-makefile to doc/Makefile.am"
- echo "******************************************************************************"
diff -u $(srcdir)/Makefile.am tmp-$@ >/dev/null
rm -f tmp-$@
FUNCS=`cat $(HEADER_FILES) | $(top_srcdir)/doc/scripts/getfuncs.pl|sort -d|uniq`; \
@@ -449,9 +454,9 @@ compare-makefile: enums.texi
done; \
grep -v -e '^FUNCS += ' $(srcdir)/Makefile.am > tmp-$@; \
echo "\"s,^FUNCS =,FUNCS =$$MANS,\" -i tmp-$@"|xargs sed
- echo "******************************************************************************"
- echo "If the following step fails copy $(srcdir)/doc/tmp-compare-makefile to doc/Makefile.am"
- echo "******************************************************************************"
+ @echo "******************************************************************************"
+ @echo "If the following step fails copy $(srcdir)/doc/tmp-compare-makefile to doc/Makefile.am"
+ @echo "******************************************************************************"
diff -u $(srcdir)/Makefile.am tmp-$@ >/dev/null
rm -f tmp-$@
@@ -1821,6 +1826,14 @@ FUNCS += functions/gnutls_strerror
FUNCS += functions/gnutls_strerror.short
FUNCS += functions/gnutls_strerror_name
FUNCS += functions/gnutls_strerror_name.short
+FUNCS += functions/gnutls_subject_alt_names_deinit
+FUNCS += functions/gnutls_subject_alt_names_deinit.short
+FUNCS += functions/gnutls_subject_alt_names_get
+FUNCS += functions/gnutls_subject_alt_names_get.short
+FUNCS += functions/gnutls_subject_alt_names_init
+FUNCS += functions/gnutls_subject_alt_names_init.short
+FUNCS += functions/gnutls_subject_alt_names_set
+FUNCS += functions/gnutls_subject_alt_names_set.short
FUNCS += functions/gnutls_supplemental_get_name
FUNCS += functions/gnutls_supplemental_get_name.short
FUNCS += functions/gnutls_tdb_deinit
@@ -1875,10 +1888,38 @@ FUNCS += functions/gnutls_url_is_supported
FUNCS += functions/gnutls_url_is_supported.short
FUNCS += functions/gnutls_verify_stored_pubkey
FUNCS += functions/gnutls_verify_stored_pubkey.short
+FUNCS += functions/gnutls_x509_aia_deinit
+FUNCS += functions/gnutls_x509_aia_deinit.short
+FUNCS += functions/gnutls_x509_aia_get
+FUNCS += functions/gnutls_x509_aia_get.short
+FUNCS += functions/gnutls_x509_aia_init
+FUNCS += functions/gnutls_x509_aia_init.short
+FUNCS += functions/gnutls_x509_aia_set
+FUNCS += functions/gnutls_x509_aia_set.short
+FUNCS += functions/gnutls_x509_aki_deinit
+FUNCS += functions/gnutls_x509_aki_deinit.short
+FUNCS += functions/gnutls_x509_aki_get_cert_issuer
+FUNCS += functions/gnutls_x509_aki_get_cert_issuer.short
+FUNCS += functions/gnutls_x509_aki_get_id
+FUNCS += functions/gnutls_x509_aki_get_id.short
+FUNCS += functions/gnutls_x509_aki_init
+FUNCS += functions/gnutls_x509_aki_init.short
+FUNCS += functions/gnutls_x509_aki_set_cert_issuer
+FUNCS += functions/gnutls_x509_aki_set_cert_issuer.short
+FUNCS += functions/gnutls_x509_aki_set_id
+FUNCS += functions/gnutls_x509_aki_set_id.short
FUNCS += functions/gnutls_x509_crl_check_issuer
FUNCS += functions/gnutls_x509_crl_check_issuer.short
FUNCS += functions/gnutls_x509_crl_deinit
FUNCS += functions/gnutls_x509_crl_deinit.short
+FUNCS += functions/gnutls_x509_crl_dist_points_deinit
+FUNCS += functions/gnutls_x509_crl_dist_points_deinit.short
+FUNCS += functions/gnutls_x509_crl_dist_points_get
+FUNCS += functions/gnutls_x509_crl_dist_points_get.short
+FUNCS += functions/gnutls_x509_crl_dist_points_init
+FUNCS += functions/gnutls_x509_crl_dist_points_init.short
+FUNCS += functions/gnutls_x509_crl_dist_points_set
+FUNCS += functions/gnutls_x509_crl_dist_points_set.short
FUNCS += functions/gnutls_x509_crl_export
FUNCS += functions/gnutls_x509_crl_export.short
FUNCS += functions/gnutls_x509_crl_export2
@@ -1895,6 +1936,8 @@ FUNCS += functions/gnutls_x509_crl_get_dn_oid
FUNCS += functions/gnutls_x509_crl_get_dn_oid.short
FUNCS += functions/gnutls_x509_crl_get_extension_data
FUNCS += functions/gnutls_x509_crl_get_extension_data.short
+FUNCS += functions/gnutls_x509_crl_get_extension_data2
+FUNCS += functions/gnutls_x509_crl_get_extension_data2.short
FUNCS += functions/gnutls_x509_crl_get_extension_info
FUNCS += functions/gnutls_x509_crl_get_extension_info.short
FUNCS += functions/gnutls_x509_crl_get_extension_oid
@@ -1979,6 +2022,8 @@ FUNCS += functions/gnutls_x509_crq_get_extension_by_oid
FUNCS += functions/gnutls_x509_crq_get_extension_by_oid.short
FUNCS += functions/gnutls_x509_crq_get_extension_data
FUNCS += functions/gnutls_x509_crq_get_extension_data.short
+FUNCS += functions/gnutls_x509_crq_get_extension_data2
+FUNCS += functions/gnutls_x509_crq_get_extension_data2.short
FUNCS += functions/gnutls_x509_crq_get_extension_info
FUNCS += functions/gnutls_x509_crq_get_extension_info.short
FUNCS += functions/gnutls_x509_crq_get_key_id
@@ -2081,6 +2126,8 @@ FUNCS += functions/gnutls_x509_crt_get_extension_by_oid
FUNCS += functions/gnutls_x509_crt_get_extension_by_oid.short
FUNCS += functions/gnutls_x509_crt_get_extension_data
FUNCS += functions/gnutls_x509_crt_get_extension_data.short
+FUNCS += functions/gnutls_x509_crt_get_extension_data2
+FUNCS += functions/gnutls_x509_crt_get_extension_data2.short
FUNCS += functions/gnutls_x509_crt_get_extension_info
FUNCS += functions/gnutls_x509_crt_get_extension_info.short
FUNCS += functions/gnutls_x509_crt_get_extension_oid
@@ -2199,6 +2246,8 @@ FUNCS += functions/gnutls_x509_crt_set_expiration_time
FUNCS += functions/gnutls_x509_crt_set_expiration_time.short
FUNCS += functions/gnutls_x509_crt_set_extension_by_oid
FUNCS += functions/gnutls_x509_crt_set_extension_by_oid.short
+FUNCS += functions/gnutls_x509_crt_set_issuer_alt_name
+FUNCS += functions/gnutls_x509_crt_set_issuer_alt_name.short
FUNCS += functions/gnutls_x509_crt_set_issuer_dn
FUNCS += functions/gnutls_x509_crt_set_issuer_dn.short
FUNCS += functions/gnutls_x509_crt_set_issuer_dn_by_oid
@@ -2259,6 +2308,62 @@ FUNCS += functions/gnutls_x509_dn_oid_known
FUNCS += functions/gnutls_x509_dn_oid_known.short
FUNCS += functions/gnutls_x509_dn_oid_name
FUNCS += functions/gnutls_x509_dn_oid_name.short
+FUNCS += functions/gnutls_x509_ext_get_aia
+FUNCS += functions/gnutls_x509_ext_get_aia.short
+FUNCS += functions/gnutls_x509_ext_get_authority_key_id
+FUNCS += functions/gnutls_x509_ext_get_authority_key_id.short
+FUNCS += functions/gnutls_x509_ext_get_basic_constraints
+FUNCS += functions/gnutls_x509_ext_get_basic_constraints.short
+FUNCS += functions/gnutls_x509_ext_get_crl_dist_points
+FUNCS += functions/gnutls_x509_ext_get_crl_dist_points.short
+FUNCS += functions/gnutls_x509_ext_get_key_purposes
+FUNCS += functions/gnutls_x509_ext_get_key_purposes.short
+FUNCS += functions/gnutls_x509_ext_get_key_usage
+FUNCS += functions/gnutls_x509_ext_get_key_usage.short
+FUNCS += functions/gnutls_x509_ext_get_name_constraints
+FUNCS += functions/gnutls_x509_ext_get_name_constraints.short
+FUNCS += functions/gnutls_x509_ext_get_policies
+FUNCS += functions/gnutls_x509_ext_get_policies.short
+FUNCS += functions/gnutls_x509_ext_get_private_key_usage_period
+FUNCS += functions/gnutls_x509_ext_get_private_key_usage_period.short
+FUNCS += functions/gnutls_x509_ext_get_proxy
+FUNCS += functions/gnutls_x509_ext_get_proxy.short
+FUNCS += functions/gnutls_x509_ext_get_subject_alt_names
+FUNCS += functions/gnutls_x509_ext_get_subject_alt_names.short
+FUNCS += functions/gnutls_x509_ext_get_subject_key_id
+FUNCS += functions/gnutls_x509_ext_get_subject_key_id.short
+FUNCS += functions/gnutls_x509_ext_set_aia
+FUNCS += functions/gnutls_x509_ext_set_aia.short
+FUNCS += functions/gnutls_x509_ext_set_authority_key_id
+FUNCS += functions/gnutls_x509_ext_set_authority_key_id.short
+FUNCS += functions/gnutls_x509_ext_set_basic_constraints
+FUNCS += functions/gnutls_x509_ext_set_basic_constraints.short
+FUNCS += functions/gnutls_x509_ext_set_crl_dist_points
+FUNCS += functions/gnutls_x509_ext_set_crl_dist_points.short
+FUNCS += functions/gnutls_x509_ext_set_key_purposes
+FUNCS += functions/gnutls_x509_ext_set_key_purposes.short
+FUNCS += functions/gnutls_x509_ext_set_key_usage
+FUNCS += functions/gnutls_x509_ext_set_key_usage.short
+FUNCS += functions/gnutls_x509_ext_set_name_constraints
+FUNCS += functions/gnutls_x509_ext_set_name_constraints.short
+FUNCS += functions/gnutls_x509_ext_set_policies
+FUNCS += functions/gnutls_x509_ext_set_policies.short
+FUNCS += functions/gnutls_x509_ext_set_private_key_usage_period
+FUNCS += functions/gnutls_x509_ext_set_private_key_usage_period.short
+FUNCS += functions/gnutls_x509_ext_set_proxy
+FUNCS += functions/gnutls_x509_ext_set_proxy.short
+FUNCS += functions/gnutls_x509_ext_set_subject_alt_names
+FUNCS += functions/gnutls_x509_ext_set_subject_alt_names.short
+FUNCS += functions/gnutls_x509_ext_set_subject_key_id
+FUNCS += functions/gnutls_x509_ext_set_subject_key_id.short
+FUNCS += functions/gnutls_x509_key_purpose_deinit
+FUNCS += functions/gnutls_x509_key_purpose_deinit.short
+FUNCS += functions/gnutls_x509_key_purpose_get
+FUNCS += functions/gnutls_x509_key_purpose_get.short
+FUNCS += functions/gnutls_x509_key_purpose_init
+FUNCS += functions/gnutls_x509_key_purpose_init.short
+FUNCS += functions/gnutls_x509_key_purpose_set
+FUNCS += functions/gnutls_x509_key_purpose_set.short
FUNCS += functions/gnutls_x509_name_constraints_add_excluded
FUNCS += functions/gnutls_x509_name_constraints_add_excluded.short
FUNCS += functions/gnutls_x509_name_constraints_add_permitted
@@ -2275,6 +2380,14 @@ FUNCS += functions/gnutls_x509_name_constraints_get_permitted
FUNCS += functions/gnutls_x509_name_constraints_get_permitted.short
FUNCS += functions/gnutls_x509_name_constraints_init
FUNCS += functions/gnutls_x509_name_constraints_init.short
+FUNCS += functions/gnutls_x509_policies_deinit
+FUNCS += functions/gnutls_x509_policies_deinit.short
+FUNCS += functions/gnutls_x509_policies_get
+FUNCS += functions/gnutls_x509_policies_get.short
+FUNCS += functions/gnutls_x509_policies_init
+FUNCS += functions/gnutls_x509_policies_init.short
+FUNCS += functions/gnutls_x509_policies_set
+FUNCS += functions/gnutls_x509_policies_set.short
FUNCS += functions/gnutls_x509_policy_release
FUNCS += functions/gnutls_x509_policy_release.short
FUNCS += functions/gnutls_x509_privkey_cpy
diff --git a/doc/doc.mk b/doc/doc.mk
index 6f67f61d9d..a4b249ef24 100644
--- a/doc/doc.mk
+++ b/doc/doc.mk
@@ -24,6 +24,6 @@ HEADER_FILES = $(top_srcdir)/lib/includes/gnutls/gnutls.h.in \
$(top_srcdir)/lib/includes/gnutls/abstract.h $(top_srcdir)/lib/includes/gnutls/compat.h \
$(top_srcdir)/lib/includes/gnutls/dtls.h $(top_srcdir)/lib/includes/gnutls/crypto.h \
$(top_srcdir)/lib/includes/gnutls/ocsp.h $(top_srcdir)/lib/includes/gnutls/tpm.h \
- $(top_srcdir)/libdane/includes/gnutls/dane.h
+ $(top_srcdir)/libdane/includes/gnutls/dane.h $(top_srcdir)/lib/includes/gnutls/x509-ext.h
C_SOURCE_FILES = $(top_srcdir)/lib/*/*.c $(top_srcdir)/lib/*.c $(top_srcdir)/libdane/*.c
diff --git a/doc/manpages/Makefile.am b/doc/manpages/Makefile.am
index c7acbd2adb..e233007867 100644
--- a/doc/manpages/Makefile.am
+++ b/doc/manpages/Makefile.am
@@ -704,6 +704,10 @@ APIMANS += gnutls_store_commitment.3
APIMANS += gnutls_store_pubkey.3
APIMANS += gnutls_strerror.3
APIMANS += gnutls_strerror_name.3
+APIMANS += gnutls_subject_alt_names_deinit.3
+APIMANS += gnutls_subject_alt_names_get.3
+APIMANS += gnutls_subject_alt_names_init.3
+APIMANS += gnutls_subject_alt_names_set.3
APIMANS += gnutls_supplemental_get_name.3
APIMANS += gnutls_tdb_deinit.3
APIMANS += gnutls_tdb_init.3
@@ -731,8 +735,22 @@ APIMANS += gnutls_transport_set_push_function.3
APIMANS += gnutls_transport_set_vec_push_function.3
APIMANS += gnutls_url_is_supported.3
APIMANS += gnutls_verify_stored_pubkey.3
+APIMANS += gnutls_x509_aia_deinit.3
+APIMANS += gnutls_x509_aia_get.3
+APIMANS += gnutls_x509_aia_init.3
+APIMANS += gnutls_x509_aia_set.3
+APIMANS += gnutls_x509_aki_deinit.3
+APIMANS += gnutls_x509_aki_get_cert_issuer.3
+APIMANS += gnutls_x509_aki_get_id.3
+APIMANS += gnutls_x509_aki_init.3
+APIMANS += gnutls_x509_aki_set_cert_issuer.3
+APIMANS += gnutls_x509_aki_set_id.3
APIMANS += gnutls_x509_crl_check_issuer.3
APIMANS += gnutls_x509_crl_deinit.3
+APIMANS += gnutls_x509_crl_dist_points_deinit.3
+APIMANS += gnutls_x509_crl_dist_points_get.3
+APIMANS += gnutls_x509_crl_dist_points_init.3
+APIMANS += gnutls_x509_crl_dist_points_set.3
APIMANS += gnutls_x509_crl_export.3
APIMANS += gnutls_x509_crl_export2.3
APIMANS += gnutls_x509_crl_get_authority_key_gn_serial.3
@@ -741,6 +759,7 @@ APIMANS += gnutls_x509_crl_get_crt_count.3
APIMANS += gnutls_x509_crl_get_crt_serial.3
APIMANS += gnutls_x509_crl_get_dn_oid.3
APIMANS += gnutls_x509_crl_get_extension_data.3
+APIMANS += gnutls_x509_crl_get_extension_data2.3
APIMANS += gnutls_x509_crl_get_extension_info.3
APIMANS += gnutls_x509_crl_get_extension_oid.3
APIMANS += gnutls_x509_crl_get_issuer_dn.3
@@ -783,6 +802,7 @@ APIMANS += gnutls_x509_crq_get_dn_by_oid.3
APIMANS += gnutls_x509_crq_get_dn_oid.3
APIMANS += gnutls_x509_crq_get_extension_by_oid.3
APIMANS += gnutls_x509_crq_get_extension_data.3
+APIMANS += gnutls_x509_crq_get_extension_data2.3
APIMANS += gnutls_x509_crq_get_extension_info.3
APIMANS += gnutls_x509_crq_get_key_id.3
APIMANS += gnutls_x509_crq_get_key_purpose_oid.3
@@ -834,6 +854,7 @@ APIMANS += gnutls_x509_crt_get_dn_oid.3
APIMANS += gnutls_x509_crt_get_expiration_time.3
APIMANS += gnutls_x509_crt_get_extension_by_oid.3
APIMANS += gnutls_x509_crt_get_extension_data.3
+APIMANS += gnutls_x509_crt_get_extension_data2.3
APIMANS += gnutls_x509_crt_get_extension_info.3
APIMANS += gnutls_x509_crt_get_extension_oid.3
APIMANS += gnutls_x509_crt_get_fingerprint.3
@@ -893,6 +914,7 @@ APIMANS += gnutls_x509_crt_set_dn.3
APIMANS += gnutls_x509_crt_set_dn_by_oid.3
APIMANS += gnutls_x509_crt_set_expiration_time.3
APIMANS += gnutls_x509_crt_set_extension_by_oid.3
+APIMANS += gnutls_x509_crt_set_issuer_alt_name.3
APIMANS += gnutls_x509_crt_set_issuer_dn.3
APIMANS += gnutls_x509_crt_set_issuer_dn_by_oid.3
APIMANS += gnutls_x509_crt_set_key.3
@@ -923,6 +945,34 @@ APIMANS += gnutls_x509_dn_import.3
APIMANS += gnutls_x509_dn_init.3
APIMANS += gnutls_x509_dn_oid_known.3
APIMANS += gnutls_x509_dn_oid_name.3
+APIMANS += gnutls_x509_ext_get_aia.3
+APIMANS += gnutls_x509_ext_get_authority_key_id.3
+APIMANS += gnutls_x509_ext_get_basic_constraints.3
+APIMANS += gnutls_x509_ext_get_crl_dist_points.3
+APIMANS += gnutls_x509_ext_get_key_purposes.3
+APIMANS += gnutls_x509_ext_get_key_usage.3
+APIMANS += gnutls_x509_ext_get_name_constraints.3
+APIMANS += gnutls_x509_ext_get_policies.3
+APIMANS += gnutls_x509_ext_get_private_key_usage_period.3
+APIMANS += gnutls_x509_ext_get_proxy.3
+APIMANS += gnutls_x509_ext_get_subject_alt_names.3
+APIMANS += gnutls_x509_ext_get_subject_key_id.3
+APIMANS += gnutls_x509_ext_set_aia.3
+APIMANS += gnutls_x509_ext_set_authority_key_id.3
+APIMANS += gnutls_x509_ext_set_basic_constraints.3
+APIMANS += gnutls_x509_ext_set_crl_dist_points.3
+APIMANS += gnutls_x509_ext_set_key_purposes.3
+APIMANS += gnutls_x509_ext_set_key_usage.3
+APIMANS += gnutls_x509_ext_set_name_constraints.3
+APIMANS += gnutls_x509_ext_set_policies.3
+APIMANS += gnutls_x509_ext_set_private_key_usage_period.3
+APIMANS += gnutls_x509_ext_set_proxy.3
+APIMANS += gnutls_x509_ext_set_subject_alt_names.3
+APIMANS += gnutls_x509_ext_set_subject_key_id.3
+APIMANS += gnutls_x509_key_purpose_deinit.3
+APIMANS += gnutls_x509_key_purpose_get.3
+APIMANS += gnutls_x509_key_purpose_init.3
+APIMANS += gnutls_x509_key_purpose_set.3
APIMANS += gnutls_x509_name_constraints_add_excluded.3
APIMANS += gnutls_x509_name_constraints_add_permitted.3
APIMANS += gnutls_x509_name_constraints_check.3
@@ -931,6 +981,10 @@ APIMANS += gnutls_x509_name_constraints_deinit.3
APIMANS += gnutls_x509_name_constraints_get_excluded.3
APIMANS += gnutls_x509_name_constraints_get_permitted.3
APIMANS += gnutls_x509_name_constraints_init.3
+APIMANS += gnutls_x509_policies_deinit.3
+APIMANS += gnutls_x509_policies_get.3
+APIMANS += gnutls_x509_policies_init.3
+APIMANS += gnutls_x509_policies_set.3
APIMANS += gnutls_x509_policy_release.3
APIMANS += gnutls_x509_privkey_cpy.3
APIMANS += gnutls_x509_privkey_deinit.3
@@ -983,6 +1037,9 @@ dist_man_MANS += $(APIMANS)
$(APIMANS): stamp_mans
compare-makefile:
+ @echo "******************************************************************************"
+ @echo "If the following step fails copy $(srcdir)/doc/manpages/tmp-compare-makefile to doc/manpages/Makefile.am"
+ @echo "******************************************************************************"
FUNCS=`cat $(top_srcdir)/lib/includes/gnutls/*.h | $(top_srcdir)/doc/scripts/getfuncs.pl|sort -d`; \
MANS=""; \
for i in $$FUNCS; do \
@@ -1001,7 +1058,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/gnutls.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1015,7 +1072,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/compat.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1029,7 +1086,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/dane.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1043,7 +1100,21 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/x509.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
+ -function $$i \
+ $(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
+ echo $(ECHO_N) "."; \
+ done
+ @echo ""
+ @echo $(ECHO_N) "Creating man pages for x509-ext.h..." && \
+ for i in `$(top_srcdir)/doc/scripts/getfuncs.pl <$(top_srcdir)/lib/includes/gnutls/x509-ext.h`; do \
+ $(top_srcdir)/doc/scripts/gdoc -man \
+ -module $(PACKAGE) -sourceversion $(VERSION) \
+ -bugsto $(PACKAGE_BUGREPORT) \
+ -pkg-name "$(PACKAGE_NAME)" \
+ -include "gnutls/x509-ext.h" \
+ -seeinfo $(PACKAGE) -verbatimcopying \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1057,7 +1128,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/ocsp.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1071,7 +1142,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/abstract.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1085,7 +1156,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/pkcs12.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1099,7 +1170,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/pkcs11.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1113,7 +1184,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/dtls.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1127,7 +1198,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/openpgp.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1141,7 +1212,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/crypto.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
@@ -1155,7 +1226,7 @@ stamp_mans: $(HEADER_FILES)
-pkg-name "$(PACKAGE_NAME)" \
-include "gnutls/tpm.h" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-2013 Free Software Foundation, Inc." \
+ -copyright "2001-2014 Free Software Foundation, Inc." \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 2>/dev/null && \
echo $(ECHO_N) "."; \
diff --git a/symbols.last b/symbols.last
index 94e3c5ae3e..284bf9b62f 100644
--- a/symbols.last
+++ b/symbols.last
@@ -668,6 +668,10 @@ gnutls_store_pubkey@GNUTLS_3_0_0
gnutls_strdup@GNUTLS_1_4
gnutls_strerror@GNUTLS_1_4
gnutls_strerror_name@GNUTLS_1_4
+gnutls_subject_alt_names_deinit@GNUTLS_3_1_0
+gnutls_subject_alt_names_get@GNUTLS_3_1_0
+gnutls_subject_alt_names_init@GNUTLS_3_1_0
+gnutls_subject_alt_names_set@GNUTLS_3_1_0
gnutls_supplemental_get_name@GNUTLS_1_4
gnutls_tdb_deinit@GNUTLS_3_0_0
gnutls_tdb_init@GNUTLS_3_0_0
@@ -694,8 +698,22 @@ gnutls_transport_set_push_function@GNUTLS_1_4
gnutls_transport_set_vec_push_function@GNUTLS_2_12
gnutls_url_is_supported@GNUTLS_3_1_0
gnutls_verify_stored_pubkey@GNUTLS_3_0_0
+gnutls_x509_aia_deinit@GNUTLS_3_1_0
+gnutls_x509_aia_get@GNUTLS_3_1_0
+gnutls_x509_aia_init@GNUTLS_3_1_0
+gnutls_x509_aia_set@GNUTLS_3_1_0
+gnutls_x509_aki_deinit@GNUTLS_3_1_0
+gnutls_x509_aki_get_cert_issuer@GNUTLS_3_1_0
+gnutls_x509_aki_get_id@GNUTLS_3_1_0
+gnutls_x509_aki_init@GNUTLS_3_1_0
+gnutls_x509_aki_set_cert_issuer@GNUTLS_3_1_0
+gnutls_x509_aki_set_id@GNUTLS_3_1_0
gnutls_x509_crl_check_issuer@GNUTLS_1_4
gnutls_x509_crl_deinit@GNUTLS_1_4
+gnutls_x509_crl_dist_points_deinit@GNUTLS_3_1_0
+gnutls_x509_crl_dist_points_get@GNUTLS_3_1_0
+gnutls_x509_crl_dist_points_init@GNUTLS_3_1_0
+gnutls_x509_crl_dist_points_set@GNUTLS_3_1_0
gnutls_x509_crl_export2@GNUTLS_3_1_0
gnutls_x509_crl_export@GNUTLS_1_4
gnutls_x509_crl_get_authority_key_gn_serial@GNUTLS_3_0_0
@@ -703,6 +721,7 @@ gnutls_x509_crl_get_authority_key_id@GNUTLS_2_8
gnutls_x509_crl_get_crt_count@GNUTLS_1_4
gnutls_x509_crl_get_crt_serial@GNUTLS_1_4
gnutls_x509_crl_get_dn_oid@GNUTLS_1_4
+gnutls_x509_crl_get_extension_data2@GNUTLS_3_1_0
gnutls_x509_crl_get_extension_data@GNUTLS_2_8
gnutls_x509_crl_get_extension_info@GNUTLS_2_8
gnutls_x509_crl_get_extension_oid@GNUTLS_2_8
@@ -745,6 +764,7 @@ gnutls_x509_crq_get_dn@GNUTLS_1_4
gnutls_x509_crq_get_dn_by_oid@GNUTLS_1_4
gnutls_x509_crq_get_dn_oid@GNUTLS_1_4
gnutls_x509_crq_get_extension_by_oid@GNUTLS_2_8
+gnutls_x509_crq_get_extension_data2@GNUTLS_3_1_0
gnutls_x509_crq_get_extension_data@GNUTLS_2_8
gnutls_x509_crq_get_extension_info@GNUTLS_2_8
gnutls_x509_crq_get_key_id@GNUTLS_2_8
@@ -796,6 +816,7 @@ gnutls_x509_crt_get_dn_by_oid@GNUTLS_1_4
gnutls_x509_crt_get_dn_oid@GNUTLS_1_4
gnutls_x509_crt_get_expiration_time@GNUTLS_1_4
gnutls_x509_crt_get_extension_by_oid@GNUTLS_1_4
+gnutls_x509_crt_get_extension_data2@GNUTLS_3_1_0
gnutls_x509_crt_get_extension_data@GNUTLS_1_4
gnutls_x509_crt_get_extension_info@GNUTLS_1_4
gnutls_x509_crt_get_extension_oid@GNUTLS_1_4
@@ -856,6 +877,7 @@ gnutls_x509_crt_set_dn@GNUTLS_3_1_0
gnutls_x509_crt_set_dn_by_oid@GNUTLS_1_4
gnutls_x509_crt_set_expiration_time@GNUTLS_1_4
gnutls_x509_crt_set_extension_by_oid@GNUTLS_1_4
+gnutls_x509_crt_set_issuer_alt_name@GNUTLS_3_1_0
gnutls_x509_crt_set_issuer_dn@GNUTLS_3_1_0
gnutls_x509_crt_set_issuer_dn_by_oid@GNUTLS_1_4
gnutls_x509_crt_set_key@GNUTLS_1_4
@@ -886,6 +908,34 @@ gnutls_x509_dn_import@GNUTLS_1_4
gnutls_x509_dn_init@GNUTLS_1_4
gnutls_x509_dn_oid_known@GNUTLS_1_4
gnutls_x509_dn_oid_name@GNUTLS_3_0_0
+gnutls_x509_ext_get_aia@GNUTLS_3_1_0
+gnutls_x509_ext_get_authority_key_id@GNUTLS_3_1_0
+gnutls_x509_ext_get_basic_constraints@GNUTLS_3_1_0
+gnutls_x509_ext_get_crl_dist_points@GNUTLS_3_1_0
+gnutls_x509_ext_get_key_purposes@GNUTLS_3_1_0
+gnutls_x509_ext_get_key_usage@GNUTLS_3_1_0
+gnutls_x509_ext_get_name_constraints@GNUTLS_3_1_0
+gnutls_x509_ext_get_policies@GNUTLS_3_1_0
+gnutls_x509_ext_get_private_key_usage_period@GNUTLS_3_1_0
+gnutls_x509_ext_get_proxy@GNUTLS_3_1_0
+gnutls_x509_ext_get_subject_alt_names@GNUTLS_3_1_0
+gnutls_x509_ext_get_subject_key_id@GNUTLS_3_1_0
+gnutls_x509_ext_set_aia@GNUTLS_3_1_0
+gnutls_x509_ext_set_authority_key_id@GNUTLS_3_1_0
+gnutls_x509_ext_set_basic_constraints@GNUTLS_3_1_0
+gnutls_x509_ext_set_crl_dist_points@GNUTLS_3_1_0
+gnutls_x509_ext_set_key_purposes@GNUTLS_3_1_0
+gnutls_x509_ext_set_key_usage@GNUTLS_3_1_0
+gnutls_x509_ext_set_name_constraints@GNUTLS_3_1_0
+gnutls_x509_ext_set_policies@GNUTLS_3_1_0
+gnutls_x509_ext_set_private_key_usage_period@GNUTLS_3_1_0
+gnutls_x509_ext_set_proxy@GNUTLS_3_1_0
+gnutls_x509_ext_set_subject_alt_names@GNUTLS_3_1_0
+gnutls_x509_ext_set_subject_key_id@GNUTLS_3_1_0
+gnutls_x509_key_purpose_deinit@GNUTLS_3_1_0
+gnutls_x509_key_purpose_get@GNUTLS_3_1_0
+gnutls_x509_key_purpose_init@GNUTLS_3_1_0
+gnutls_x509_key_purpose_set@GNUTLS_3_1_0
gnutls_x509_name_constraints_add_excluded@GNUTLS_3_1_0
gnutls_x509_name_constraints_add_permitted@GNUTLS_3_1_0
gnutls_x509_name_constraints_check@GNUTLS_3_1_0
@@ -894,6 +944,10 @@ gnutls_x509_name_constraints_deinit@GNUTLS_3_1_0
gnutls_x509_name_constraints_get_excluded@GNUTLS_3_1_0
gnutls_x509_name_constraints_get_permitted@GNUTLS_3_1_0
gnutls_x509_name_constraints_init@GNUTLS_3_1_0
+gnutls_x509_policies_deinit@GNUTLS_3_1_0
+gnutls_x509_policies_get@GNUTLS_3_1_0
+gnutls_x509_policies_init@GNUTLS_3_1_0
+gnutls_x509_policies_set@GNUTLS_3_1_0
gnutls_x509_policy_release@GNUTLS_3_1_0
gnutls_x509_privkey_cpy@GNUTLS_1_4
gnutls_x509_privkey_deinit@GNUTLS_1_4