From: Marcel Poul Date: Wed, 18 Jan 2012 15:30:52 +0000 (+0000) Subject: no need for this method call anymore X-Git-Tag: emi-canl-c_R_1_0_0_0~30 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=65aa63f8009bc8265f33b2d00bbafdb1c0e409ca;p=jra1mw.git no need for this method call anymore --- diff --git a/emi.canl.canl-c/examples/grid-proxy-init.c b/emi.canl.canl-c/examples/grid-proxy-init.c index 50a9740..118e37d 100644 --- a/emi.canl.canl-c/examples/grid-proxy-init.c +++ b/emi.canl.canl-c/examples/grid-proxy-init.c @@ -24,14 +24,6 @@ main(int argc, char *argv[]) return 1; } - ret = canl_req_gen_key(ctx, proxy_req, 1024); - if (ret) { - fprintf(stderr, "Failed to generate key-pair: %s\n", - canl_get_error_message(ctx)); - ret = 1; - goto end; - } - /* Create a new structure for the proxy certificate to be signed copying the key-pairs just created */ ret = canl_cred_new(ctx, &proxy); ret = canl_cred_load_req(ctx, proxy, proxy_req);