Skip to content

Commit 4c5b329

Browse files
olszomalmtrojnar
authored andcommitted
fixed mixed declarations and code
1 parent 5626482 commit 4c5b329

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

osslsigncode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,6 +2270,7 @@ static int verify_member(FILE_FORMAT_CTX *ctx, CatalogAuthAttr *attribute)
22702270
static int verify_content(FILE_FORMAT_CTX *ctx, PKCS7 *p7)
22712271
{
22722272
ASN1_STRING *value;
2273+
ASN1_OBJECT *indir_objid;
22732274
const u_char *data;
22742275
MsCtlContent *ctlc;
22752276
int i, j;
@@ -2285,7 +2286,7 @@ static int verify_content(FILE_FORMAT_CTX *ctx, PKCS7 *p7)
22852286
printf("Failed to extract MS_CTL_OBJID data\n");
22862287
return 1; /* FAILED */
22872288
}
2288-
ASN1_OBJECT *indir_objid = OBJ_txt2obj(SPC_INDIRECT_DATA_OBJID, 1);
2289+
indir_objid = OBJ_txt2obj(SPC_INDIRECT_DATA_OBJID, 1);
22892290
for (i = 0; i < sk_CatalogInfo_num(ctlc->header_attributes); i++) {
22902291
STACK_OF(CatalogAuthAttr) *attributes;
22912292
CatalogInfo *header_attr = sk_CatalogInfo_value(ctlc->header_attributes, i);

0 commit comments

Comments
 (0)