On Sat, Mar 14, 2015 at 02:46:52PM -0700, ??? wrote: > Hello, can anyone help me to find where the function get_issuer (...) is > defined? > Sorry for the naïve question. > > The function is referred in crypto/x509/x509_vfy.c > 290 /* If we are self signed, we break */ > 291 if (ctx->check_issued(ctx,x,x)) break; > 292 > 293 ok = ctx->get_issuer(&xtmp, ctx, x); > 294 295 if (ok < 0) return ok; > 296 if (ok == 0) break; > 297 ... > 306 }
check_issuer() is a function pointer in the X509_STORE and X509_STORE_CTX structure. X509_STORE_CTX_init() sets this to the X509_STORE version, or defaults to X509_STORE_CTX_get1_issuer(). X509_STORE_CTX_trusted_stack() will set it to get_issuer_sk. I don't see a way to set any other function. Kurt _______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev