static EVP_PKEY *load_pubkey(ENGINE *engine, const char *s_key_id, UI_METHOD *ui_method, void *callback_data) { ENGINE_CTX *ctx; ctx = get_ctx(engine); if (ctx == NULL) return 0; return pkcs11_load_public_key(ctx, s_key_id, ui_method, callback_data); }
static EVP_PKEY *EngineLoadPublicKey(ENGINE *engine, const char *s_key_id, UI_METHOD *ui_method, void *callback_data) { if (context_ == NULL) { return 0; } else { return pkcs11_load_public_key(context_, s_key_id, ui_method, callback_data); } }