Print out zero length string properly.
[oweals/openssl.git] / crypto / asn1 / x_x509.c
index 95774673c42df831f7f6336c2c8ebc1c2ef8234a..086021c5a10c18ab72bf8e65dd3ca6bf8f78e713 100644 (file)
@@ -81,7 +81,8 @@ IMPLEMENT_ASN1_FUNCTIONS(X509_CINF)
 
 extern void policy_cache_free(X509_POLICY_CACHE *cache);
 
-static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it)
+static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
+                                                               void *exarg)
 {
        X509 *ret = (X509 *)*pval;