summaryrefslogtreecommitdiffstats
path: root/FAQ
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-23 14:22:54 +0200
committerDr. Stephen Henson <steve@openssl.org>2009-10-23 14:22:54 +0200
commitdd57b657a8c31b6808d33f460d9512cbfd7f1e78 (patch)
tree2e678bb3ff0850941a65889087da2ec10e6fb264 /FAQ
parentIf not checking all certificates don't attempt to find a CRL (diff)
downloadopenssl-dd57b657a8c31b6808d33f460d9512cbfd7f1e78.tar.xz
openssl-dd57b657a8c31b6808d33f460d9512cbfd7f1e78.zip
Add an FAQ.
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ12
1 files changed, 12 insertions, 0 deletions
diff --git a/FAQ b/FAQ
index 6c07b69361..c492c09c5f 100644
--- a/FAQ
+++ b/FAQ
@@ -70,6 +70,7 @@ OpenSSL - Frequently Asked Questions
* I think I've detected a memory leak, is this a bug?
* Why does Valgrind complain about the use of uninitialized data?
* Why doesn't a memory BIO work when a file does?
+* Where are the declarations and implementations of d2i_X509() etc?
===============================================================================
@@ -967,4 +968,15 @@ is needed. This must be done by calling:
See the manual pages for more details.
+* Where are the declarations and implementations of d2i_X509() etc?
+
+These are defined by macros of the form:
+
+
+ DECLARE_ASN1_FUNCTIONS(X509) and IMPLEMENT_ASN1_FUNCTIONS(X509)
+
+The implementation passes an ASN1 "template" defining the structure into an
+ASN1 interpreter using generalised functions such as ASN1_item_d2i().
+
+
===============================================================================