Merge from the ASN1 branch of new ASN1 code
[openssl.git] / apps / ca.c
index 3f855a156586e7859ad3db8943723b391b817027..c0677a5f2b3db5fcfaaf34bc32a4d864a2dac72c 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1201,7 +1201,7 @@ bad:
                                if (!a2i_ASN1_INTEGER(hex,r->serialNumber,
                                        buf[0],BSIZE)) goto err;
 
-                               sk_X509_REVOKED_push(ci->revoked,r);
+                               X509_CRL_add0_revoked(crl,r);
                                }
                        }
                /* sort the data so it will be written in serial