Extend callback function to support print customization.
[openssl.git] / crypto / asn1 / x_req.c
index 59bb3dee7555d756aca096cacbd071c089edc486..271c07d67bda5cfce693291e25e521114498fa0b 100644 (file)
@@ -79,7 +79,8 @@
  *
  */
 
-static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it)
+static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
+                                                       void *exarg)
 {
        X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
 
@@ -109,3 +110,4 @@ ASN1_SEQUENCE_ref(X509_REQ, 0, CRYPTO_LOCK_X509_INFO) = {
 } ASN1_SEQUENCE_END_ref(X509_REQ, X509_REQ)
 
 IMPLEMENT_ASN1_FUNCTIONS(X509_REQ)
+IMPLEMENT_ASN1_DUP_FUNCTION(X509_REQ)