diff options
author | nectar <nectar@FreeBSD.org> | 2002-08-05 16:25:17 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-08-05 16:25:17 +0000 |
commit | 5a59c1aa367618b2a32c35d53d4da883a8756151 (patch) | |
tree | f37dc59b1c2a509b95ebadd449313681e442238d /crypto/openssl | |
parent | 15b8a9068669dc682704d7aca5b32cf459d442a7 (diff) | |
parent | 2836f6786d79b0744c8ce9190e27eb4793579235 (diff) | |
download | FreeBSD-src-5a59c1aa367618b2a32c35d53d4da883a8756151.zip FreeBSD-src-5a59c1aa367618b2a32c35d53d4da883a8756151.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r101386,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssl')
-rw-r--r-- | crypto/openssl/crypto/asn1/asn1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/asn1/asn1_lib.c b/crypto/openssl/crypto/asn1/asn1_lib.c index 1fe3fbc..a3681c0 100644 --- a/crypto/openssl/crypto/asn1/asn1_lib.c +++ b/crypto/openssl/crypto/asn1/asn1_lib.c @@ -124,7 +124,7 @@ int ASN1_get_object(unsigned char **pp, long *plength, int *ptag, int *pclass, (int)(omax+ *pp)); #endif - if (*plength > (omax - (*pp - p))) + 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 |