Modify the X509 V3 extension lookup code.
This commit is contained in:
		@@ -279,8 +279,6 @@ EF_ALIGNMENT=0;
 | 
			
		||||
	key = NULL;
 | 
			
		||||
	section = NULL;
 | 
			
		||||
 | 
			
		||||
	X509V3_add_standard_extensions();
 | 
			
		||||
 | 
			
		||||
	preserve=0;
 | 
			
		||||
	msie_hack=0;
 | 
			
		||||
	if (bio_err == NULL)
 | 
			
		||||
@@ -1239,7 +1237,6 @@ err:
 | 
			
		||||
	X509_free(x509);
 | 
			
		||||
	X509_CRL_free(crl);
 | 
			
		||||
	CONF_free(conf);
 | 
			
		||||
	X509V3_EXT_cleanup();
 | 
			
		||||
	OBJ_cleanup();
 | 
			
		||||
	EXIT(ret);
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
@@ -200,7 +200,6 @@ bad:
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
	ERR_load_crypto_strings();
 | 
			
		||||
	X509V3_add_standard_extensions();
 | 
			
		||||
	x=load_crl(infile,informat);
 | 
			
		||||
	if (x == NULL) { goto end; }
 | 
			
		||||
 | 
			
		||||
@@ -318,7 +317,6 @@ end:
 | 
			
		||||
		X509_STORE_CTX_cleanup(&ctx);
 | 
			
		||||
		X509_STORE_free(store);
 | 
			
		||||
	}
 | 
			
		||||
	X509V3_EXT_cleanup();
 | 
			
		||||
	EXIT(ret);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -365,7 +365,6 @@ bad:
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
	ERR_load_crypto_strings();
 | 
			
		||||
	X509V3_add_standard_extensions();
 | 
			
		||||
 | 
			
		||||
#ifndef MONOLITH
 | 
			
		||||
	/* Lets load up our environment a little */
 | 
			
		||||
@@ -843,7 +842,6 @@ end:
 | 
			
		||||
	EVP_PKEY_free(pkey);
 | 
			
		||||
	X509_REQ_free(req);
 | 
			
		||||
	X509_free(x509ss);
 | 
			
		||||
	X509V3_EXT_cleanup();
 | 
			
		||||
	OBJ_cleanup();
 | 
			
		||||
	ASN1_STRING_TABLE_cleanup();
 | 
			
		||||
#ifndef NO_DSA
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user