Remove obsolete IMPLEMENT_ASN1_SET_OF
Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
bdc985b133
commit
259c360d0b
@ -454,5 +454,3 @@ BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn)
|
||||
BN_set_negative(ret, 1);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(ASN1_INTEGER)
|
||||
|
@ -399,5 +399,3 @@ ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len,
|
||||
ASN1_OBJECT_FLAG_DYNAMIC_DATA;
|
||||
return (OBJ_dup(&o));
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(ASN1_OBJECT)
|
||||
|
@ -103,8 +103,6 @@ int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value)
|
||||
return 1;
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(ASN1_TYPE)
|
||||
|
||||
/* Returns 0 if they are equal, != 0 otherwise. */
|
||||
int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b)
|
||||
{
|
||||
|
@ -160,7 +160,6 @@ extern "C" {
|
||||
DECLARE_STACK_OF(X509_ALGOR)
|
||||
|
||||
# define DECLARE_ASN1_SET_OF(type)/* filled in by mkstack.pl */
|
||||
# define IMPLEMENT_ASN1_SET_OF(type)/* nothing, no longer needed */
|
||||
|
||||
/*
|
||||
* We MUST make sure that, except for constness, asn1_ctx_st and
|
||||
|
@ -74,7 +74,6 @@ ASN1_ITEM_TEMPLATE_END(X509_ALGORS)
|
||||
IMPLEMENT_ASN1_FUNCTIONS(X509_ALGOR)
|
||||
IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(X509_ALGORS, X509_ALGORS, X509_ALGORS)
|
||||
IMPLEMENT_ASN1_DUP_FUNCTION(X509_ALGOR)
|
||||
IMPLEMENT_ASN1_SET_OF(X509_ALGOR)
|
||||
|
||||
int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
|
||||
{
|
||||
|
@ -505,7 +505,3 @@ void *X509_CRL_get_meth_data(X509_CRL *crl)
|
||||
{
|
||||
return crl->meth_data;
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(X509_REVOKED)
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(X509_CRL)
|
||||
|
@ -521,5 +521,3 @@ int X509_NAME_set(X509_NAME **xn, X509_NAME *name)
|
||||
}
|
||||
return (*xn != NULL);
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(X509_NAME_ENTRY)
|
||||
|
@ -205,5 +205,3 @@ int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit,
|
||||
{
|
||||
return X509V3_add1_i2d(&x->extensions, nid, value, crit, flags);
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(X509_EXTENSION)
|
||||
|
@ -2396,7 +2396,3 @@ void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param)
|
||||
X509_VERIFY_PARAM_free(ctx->param);
|
||||
ctx->param = param;
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(X509)
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(X509_ATTRIBUTE)
|
||||
|
@ -341,8 +341,6 @@ static void *v2i_crld(const X509V3_EXT_METHOD *method,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(DIST_POINT)
|
||||
|
||||
static int dpn_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
|
||||
void *exarg)
|
||||
{
|
||||
|
@ -267,5 +267,3 @@ ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone)
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
IMPLEMENT_ASN1_SET_OF(SXNETID)
|
||||
|
Loading…
Reference in New Issue
Block a user