projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09f2b9
)
removed unnecessary and wrong test.
author
Nikos Mavrogiannopoulos
<nmav@redhat.com>
Mon, 26 May 2014 13:20:01 +0000
(15:20 +0200)
committer
Nikos Mavrogiannopoulos
<nmav@redhat.com>
Mon, 26 May 2014 13:20:01 +0000
(15:20 +0200)
lib/decoding.c
patch
|
blob
|
history
diff --git
a/lib/decoding.c
b/lib/decoding.c
index
affffed
..
a9aecc2
100644
(file)
--- a/
lib/decoding.c
+++ b/
lib/decoding.c
@@
-738,9
+738,6
@@
_asn1_get_octet_string (asn1_node node, const unsigned char *der, int der_len, i
while (1)
{
- if (counter > der_len)
- return ASN1_DER_ERROR;
-
if (indefinite == -1)
{
if (HAVE_TWO(der_len) && (der[counter] == 0) && (der[counter + 1] == 0))