don't calculate unused stuff

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25252 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-05-28 01:20:58 +00:00
parent 9f46439d78
commit c660c77a26

View File

@@ -570,10 +570,7 @@ der_match_tag_and_length (const unsigned char *p, size_t len,
ret += l;
e = der_get_length (p, len, length_ret, &l);
if (e) return e;
p += l;
len -= l;
ret += l;
if(size) *size = ret;
if(size) *size = ret + l;
return 0;
}