Avoid converting void * to a function pointer when NULL is defined as
authorRichard Levitte <levitte@openssl.org>
Tue, 18 Jan 2000 08:23:15 +0000 (08:23 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 18 Jan 2000 08:23:15 +0000 (08:23 +0000)
((void *)0), by have a 0 instead.

crypto/x509v3/v3_enum.c
crypto/x509v3/v3_int.c

index f927110..aecfdc8 100644 (file)
@@ -79,7 +79,7 @@ NID_crl_reason, 0,
 (X509V3_EXT_D2I)d2i_ASN1_ENUMERATED,
 (X509V3_EXT_I2D)i2d_ASN1_ENUMERATED,
 (X509V3_EXT_I2S)i2s_ASN1_ENUMERATED_TABLE,
-(X509V3_EXT_S2I)NULL,
+(X509V3_EXT_S2I)0,
 NULL, NULL, NULL, NULL, crl_reasons};
 
 
index a2edfe5..63c201e 100644 (file)
@@ -67,6 +67,6 @@ NID_crl_number, 0,
 (X509V3_EXT_D2I)d2i_ASN1_INTEGER,
 (X509V3_EXT_I2D)i2d_ASN1_INTEGER,
 (X509V3_EXT_I2S)i2s_ASN1_INTEGER,
-(X509V3_EXT_S2I)NULL,
+(X509V3_EXT_S2I)0,
 NULL, NULL, NULL, NULL, NULL};