(der_get_heim_integer): revert part of previous

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17685 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-06-22 07:13:06 +00:00
parent 9a5f9bfc55
commit d56c2c1496

View File

@@ -250,11 +250,6 @@ der_get_heim_integer (const unsigned char *p, size_t len,
if (p[0] == 0xff) {
p++;
data->length--;
if (data->length == 0) {
if (size)
*size = 0;
return ASN1_BAD_LENGTH;
}
}
data->data = malloc(data->length);
if (data->data == NULL) {