diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1_lib.c')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_lib.c b/src/lib/libcrypto/asn1/asn1_lib.c index 77447a5240..a8b651e54e 100644 --- a/src/lib/libcrypto/asn1/asn1_lib.c +++ b/src/lib/libcrypto/asn1/asn1_lib.c | |||
@@ -301,7 +301,7 @@ int asn1_GetSequence(ASN1_CTX *c, long *length) | |||
301 | return(0); | 301 | return(0); |
302 | } | 302 | } |
303 | if (c->inf == (1|V_ASN1_CONSTRUCTED)) | 303 | if (c->inf == (1|V_ASN1_CONSTRUCTED)) |
304 | c->slen= *length+ *(c->pp)-c->p; | 304 | c->slen= *length; |
305 | c->eos=0; | 305 | c->eos=0; |
306 | return(1); | 306 | return(1); |
307 | } | 307 | } |