Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow compilation with both old and new Globus version. #5180
The signature of globus_gsi_cred_write_proxy changed from globus_result_t globus_gsi_cred_write_proxy(globus_l_gsi_cred_handle_s*, char*) to globus_result_t globus_gsi_cred_write_proxy(globus_l_gsi_cred_handle_s*, const char*) This causes a function pointer assignment to fail. Since we want to support both the old and new interface, simply reinterpret_cast the pointer to the correct type. Tested compilation against both globus-gsi-credential 7.7 and 7.9.
- Loading branch information