Fix typo
authorDr. Stephen Henson <steve@openssl.org>
Fri, 2 Aug 2002 19:00:21 +0000 (19:00 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 2 Aug 2002 19:00:21 +0000 (19:00 +0000)
crypto/asn1/asn1_lib.c

index be6d5f4f17d1f26d49f182b71b027d1688e708fe..e4a56a926af79fe5618d81b7cbc5400fe3a9236d 100644 (file)
@@ -125,7 +125,7 @@ int ASN1_get_object(unsigned char **pp, long *plength, int *ptag, int *pclass,
                (int)(omax+ *pp));
 
 #endif
-       if (*plength > (omax - (*p - *pp)))
+       if (*plength > (omax - (p - *pp)))
                {
                ASN1err(ASN1_F_ASN1_GET_OBJECT,ASN1_R_TOO_LONG);
                /* Set this so that even if things are not long enough