BAN-AI-Communications/k95-mingw

View on GitHub
openssl-0.9.7/crypto/pkcs7/pk7_doit.c

Summary

Maintainability
Test Coverage

Showing 10 of 10 total issues

High complexity in PKCS7_dataFinal: [34/30]
Open

{

High complexity in PKCS7_dataInit: [32/30]
Open

{

Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
Open

bio=NULL;

The scope of the variable xa can be reduced.
Open

X509_ATTRIBUTE *xa;

Variable ri is reassigned a value before the old one has been used.
Open

ri=sk_PKCS7_RECIP_INFO_value(rsk,idx);
openssl-0.9.7/crypto/pkcs7/pk7_doit.c on lines 854..854

The function PKCS7_add_attribute is never used.
Open

int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype,

The function PKCS7_get_issuer_and_serial is never used.
Open

PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx)

The function PKCS7_set_attributes is never used.
Open

int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si, STACK_OF(X509_ATTRIBUTE) *sk)

The function PKCS7_get_attribute is never used.
Open

ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid)

The function PKCS7_set_signed_attributes is never used.
Open

int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si,

There are no issues that match your filters.

Category
Status