goto end;
}
- result = globus_gsi_cred_read_proxy(proxy, cur_file);
+ result = globus_gsi_cred_read_proxy(proxy, (char *) cur_file);
if (result) {
fprintf(stderr, "globus_gsi_cred_read_proxy() failed\n");
goto end;
}
int
-get_proxy_base_name(glite_renewal_core_context ctx, char *file, char **name)
+get_proxy_base_name(glite_renewal_core_context ctx, const char *file, char **name)
{
X509 *cert = NULL;
EVP_PKEY *key = NULL;
STACK_OF(X509) *chain = NULL;
X509_NAME *subject = NULL;
int ret;
+ globus_result_t result;
ret = load_proxy(ctx, file, &cert, &key, &chain, NULL);
if (ret)
sk_X509_insert(chain, cert, 0);
cert = NULL;
- ret = globus_gsi_cert_utils_get_base_name(subject, chain);
- if (ret) {
+ result = globus_gsi_cert_utils_get_base_name(subject, chain);
+ if (result) {
edg_wlpr_Log(ctx, LOG_ERR, "Cannot get subject name from proxy %s", file);
ret = EDG_WLPR_ERROR_SSL; /* XXX ??? */
goto end;
int tmp_fd;
int ret = -1;
char *p;
- char *server = NULL;
+ const char *server = NULL;
myproxy_socket_attrs_t *socket_attrs;
myproxy_request_t *client_request;
myproxy_response_t *server_response;
socket_attrs->psport = (myproxy_port) ? myproxy_port : MYPROXY_SERVER_PORT;
verror_clear();
- ret = myproxy_get_delegation(socket_attrs, client_request, current_proxy,
+ ret = myproxy_get_delegation(socket_attrs, client_request, (char *) current_proxy,
server_response, tmp_proxy);
if (ret == 1) {
ret = EDG_WLPR_ERROR_MYPROXY;
STACK_OF(X509) **chain, globus_gsi_cred_handle_t *proxy);
int
-get_proxy_base_name(glite_renewal_core_context ctx, char *file, char **subject);
+get_proxy_base_name(glite_renewal_core_context ctx, const char *file, char **subject);
int
renew_voms_creds(glite_renewal_core_context ctx, const char *cur_file, const char *renewed_file, const char *new_file);