Remove old ASN.1 code.
[openssl.git] / crypto / x509 / x509_r2x.c
index 0ff439c99f1bfef8de201cc5818b9c03a98b49b8..3cd72806ba74fb1c1f11c539775b2f0576a1d32b 100644 (file)
@@ -80,7 +80,7 @@ X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey)
     xi = ret->cert_info;
 
     if (sk_X509_ATTRIBUTE_num(r->req_info->attributes) != 0) {
-        if ((xi->version = M_ASN1_INTEGER_new()) == NULL)
+        if ((xi->version = ASN1_INTEGER_new()) == NULL)
             goto err;
         if (!ASN1_INTEGER_set(xi->version, 2))
             goto err;