projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The experimental Rijndael code moved to the main trunk.
[oweals/openssl.git]
/
crypto
/
x509v3
/
v3_genn.c
diff --git
a/crypto/x509v3/v3_genn.c
b/crypto/x509v3/v3_genn.c
index bd126033ac87e80cd6e825e81cbc5aacee93e93d..d44751458eb4f6507b1268fa6489e50f83db359d 100644
(file)
--- a/
crypto/x509v3/v3_genn.c
+++ b/
crypto/x509v3/v3_genn.c
@@
-211,7
+211,7
@@
void GENERAL_NAME_free(GENERAL_NAME *a)
break;
}
break;
}
-
Free ((char *)
a);
+
OPENSSL_free (
a);
}
/* Now the GeneralNames versions: a SEQUENCE OF GeneralName. These are needed as
}
/* Now the GeneralNames versions: a SEQUENCE OF GeneralName. These are needed as
@@
-220,7
+220,7
@@
void GENERAL_NAME_free(GENERAL_NAME *a)
STACK_OF(GENERAL_NAME) *GENERAL_NAMES_new()
{
STACK_OF(GENERAL_NAME) *GENERAL_NAMES_new()
{
- return sk_GENERAL_NAME_new
(NULL
);
+ return sk_GENERAL_NAME_new
_null(
);
}
void GENERAL_NAMES_free(STACK_OF(GENERAL_NAME) *a)
}
void GENERAL_NAMES_free(STACK_OF(GENERAL_NAME) *a)
@@
-286,6
+286,6
@@
void OTHERNAME_free(OTHERNAME *a)
if (a == NULL) return;
ASN1_OBJECT_free(a->type_id);
ASN1_TYPE_free(a->value);
if (a == NULL) return;
ASN1_OBJECT_free(a->type_id);
ASN1_TYPE_free(a->value);
-
Free ((char *)
a);
+
OPENSSL_free (
a);
}
}