From: Marcel Poul Date: Tue, 11 Sep 2012 11:59:40 +0000 (+0000) Subject: load cert from file instead of X509 structure X-Git-Tag: gridsite-core_R_2_0_0~21 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=bdc9e90d5d49c5c92ae8b07e237b73a574ac7471;p=jra1mw.git load cert from file instead of X509 structure --- diff --git a/org.gridsite.core/src/grst_canl_x509.c b/org.gridsite.core/src/grst_canl_x509.c index 9b29aa2..16fecd6 100644 --- a/org.gridsite.core/src/grst_canl_x509.c +++ b/org.gridsite.core/src/grst_canl_x509.c @@ -1794,7 +1794,7 @@ int GRSTx509MakeProxyCert(char **proxychain, FILE *debugfp, fp = NULL; /* read in the signer certificate*/ - ret = canl_cred_load_cert_file(ctx, signer, certs[1]); + ret = canl_cred_load_cert_file(ctx, signer, cert); if (ret){ fprintf(stderr, "[DELEGATION] Cannot load signer's certificate" ": %s\n", canl_get_error_message(ctx));