X509_cleanup_extensions();
X509V3_EXT_cleanup();
int main()	{	BIO *bio_err;	X509 *x509=NULL;	EVP_PKEY *pkey=NULL;	CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);	X509v3_add_netscape_extensions();	if ((bio_err=BIO_new(BIO_s_file())) != NULL)		BIO_set_fp(bio_err,stderr,BIO_NOCLOSE);	mkit(&x509,&pkey,512,0,365);	RSA_print_fp(stdout,pkey->pkey.rsa,0);	X509_print_fp(stdout,x509);	PEM_write_RSAPrivateKey(stdout,pkey->pkey.rsa,NULL,NULL,0,NULL);	PEM_write_X509(stdout,x509);	X509_free(x509);	EVP_PKEY_free(pkey);	BIO_free(bio_err);	X509_cleanup_extensions();	CRYPTO_mem_leaks(bio_err);	return(0);	}