(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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user