The majority of the OCSP code from CertCo.
[openssl.git] / crypto / x509v3 / v3_info.c
index a045a62..44d95a6 100644 (file)
@@ -207,6 +207,15 @@ void ACCESS_DESCRIPTION_free(ACCESS_DESCRIPTION *a)
        OPENSSL_free (a);
 }
 
+int i2a_ACCESS_DESCRIPTION(BIO *bp, ACCESS_DESCRIPTION* a)
+        {
+       i2a_ASN1_OBJECT(bp, a->method);
+#ifdef UNDEF
+       i2a_GENERAL_NAME(bp, a->location);
+#endif
+       return 2;
+       }
+
 STACK_OF(ACCESS_DESCRIPTION) *AUTHORITY_INFO_ACCESS_new(void)
 {
        return sk_ACCESS_DESCRIPTION_new_null();