summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-11-10 21:51:52 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-11-10 21:51:52 +0000
commit8865683f6c498d01d696553e3e307080d0ef1f03 (patch)
treefcbd3da6e8925cd8838eb98760ef0d5f2c8c61c6
parent58880b00a8f95d25f489cf691054fa12a1404827 (diff)
downloadgnutls-8865683f6c498d01d696553e3e307080d0ef1f03.tar.gz
corrected a sigsegv when writing CRL distribution points. It does not work properly though.
-rw-r--r--lib/x509/extensions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/x509/extensions.c b/lib/x509/extensions.c
index 419ca7f6ea..d2fdbe63aa 100644
--- a/lib/x509/extensions.c
+++ b/lib/x509/extensions.c
@@ -810,9 +810,12 @@ int _gnutls_x509_ext_gen_crl_dist_points(gnutls_x509_subject_alt_name_t
}
#endif
+#if 0
+ /* only needed in old code */
asn1_write_value(ext,
"?LAST.distributionPoint.nameRelativeToCRLIssuer",
NULL, 0);
+#endif
result =
write_new_general_name(ext, "?LAST.distributionPoint.fullName",