Calculate offset correctly. (Coverity ID 233)
This commit is contained in:
parent
b3b201b6f7
commit
23b973e600
2 changed files with 15 additions and 15 deletions
|
@ -218,7 +218,7 @@ STACK_OF(BLOCK) *d2i_ASN1_SET(STACK_OF(BLOCK) **a, const unsigned char **pp,
|
|||
if ((s=d2i(NULL,&c.p,c.slen)) == NULL)
|
||||
{
|
||||
ASN1err(ASN1_F_D2I_ASN1_SET,ASN1_R_ERROR_PARSING_SET_ELEMENT);
|
||||
asn1_add_error(*pp,(int)(c.q- *pp));
|
||||
asn1_add_error(*pp,(int)(c.p- *pp));
|
||||
goto err;
|
||||
}
|
||||
if (!sk_BLOCK_push(ret,s)) goto err;
|
||||
|
|
|
@ -136,20 +136,20 @@ ocsp_ext.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
|||
ocsp_ext.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
ocsp_ext.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
ocsp_ext.o: ../../include/openssl/x509v3.h ../cryptlib.h ocsp_ext.c
|
||||
ocsp_ht.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
|
||||
ocsp_ht.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
|
||||
ocsp_ht.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
|
||||
ocsp_ht.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
|
||||
ocsp_ht.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
|
||||
ocsp_ht.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
|
||||
ocsp_ht.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
|
||||
ocsp_ht.o: ../../include/openssl/ocsp.h ../../include/openssl/opensslconf.h
|
||||
ocsp_ht.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
||||
ocsp_ht.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
|
||||
ocsp_ht.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
|
||||
ocsp_ht.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
|
||||
ocsp_ht.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
|
||||
ocsp_ht.o: ocsp_ht.c
|
||||
ocsp_ht.o: ../../e_os.h ../../include/openssl/asn1.h
|
||||
ocsp_ht.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
||||
ocsp_ht.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
|
||||
ocsp_ht.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
|
||||
ocsp_ht.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
|
||||
ocsp_ht.o: ../../include/openssl/err.h ../../include/openssl/evp.h
|
||||
ocsp_ht.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
|
||||
ocsp_ht.o: ../../include/openssl/objects.h ../../include/openssl/ocsp.h
|
||||
ocsp_ht.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
||||
ocsp_ht.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
|
||||
ocsp_ht.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
|
||||
ocsp_ht.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
||||
ocsp_ht.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
|
||||
ocsp_ht.o: ../../include/openssl/x509v3.h ocsp_ht.c
|
||||
ocsp_lib.o: ../../e_os.h ../../include/openssl/asn1.h
|
||||
ocsp_lib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
|
||||
ocsp_lib.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
|
||||
|
|
Loading…
Reference in a new issue