r=OBJ_NAME_add(name,OBJ_NAME_TYPE_MD_METH,(char *)md);
r=OBJ_NAME_add(name,OBJ_NAME_TYPE_MD_METH,(const char *)md);
int EVP_add_digest(const EVP_MD *md)	{	int r;	const char *name;	name=OBJ_nid2sn(md->type);	r=OBJ_NAME_add(name,OBJ_NAME_TYPE_MD_METH,(char *)md);	if (r == 0) return(0);	r=OBJ_NAME_add(OBJ_nid2ln(md->type),OBJ_NAME_TYPE_MD_METH,(char *)md);	if (r == 0) return(0);	if (md->type != md->pkey_type)		{		r=OBJ_NAME_add(OBJ_nid2sn(md->pkey_type),			OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,name);		if (r == 0) return(0);		r=OBJ_NAME_add(OBJ_nid2ln(md->pkey_type),			OBJ_NAME_TYPE_MD_METH|OBJ_NAME_ALIAS,name);		}	return(r);	}