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

index f8b636c..0638870 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