How to Convert `X509 *`Certificate to `STACK_OF(X509_NAME)`
问题 How to Convert X509 * Certificate to STACK_OF(X509_NAME) Need to pass this STACK_OF(X509_NAME) to openssl api ENGINE_load_ssl_client_cert 回答1: I need to pass STACK_OF(X509_NAME) to ENGINE_load_ssl_client_cert ... You have not given us much to work with. Its not clear what your problem is, so its hard to say what you should be doing differently. Start tracing OpenSSL's code in <openssl src dir>/ssl/s3_clnt.c : int ssl_do_client_cert_cb(SSL *s, X509 **px509, EVP_PKEY **ppkey) { int i = 0;