From bdc9e90d5d49c5c92ae8b07e237b73a574ac7471 Mon Sep 17 00:00:00 2001 From: Marcel Poul Date: Tue, 11 Sep 2012 11:59:40 +0000 Subject: [PATCH] load cert from file instead of X509 structure --- org.gridsite.core/src/grst_canl_x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 1.8.2.3