Home | History | Annotate | Download | only in pkcs12

Lines Matching refs:bags

68 static int parse_bags( STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass,
183 STACK_OF(PKCS12_SAFEBAG) *bags;
192 bags = PKCS12_unpack_p7data(p7);
194 bags = PKCS12_unpack_p7encdata(p7, pass, passlen);
196 if (!bags) {
200 if (!parse_bags(bags, pass, passlen, pkey, ocerts)) {
201 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free);
205 sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free);
212 static int parse_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass,
216 for (i = 0; i < sk_PKCS12_SAFEBAG_num(bags); i++) {
217 if (!parse_bag(sk_PKCS12_SAFEBAG_value (bags, i),