--- gvpe/src/gvpectrl.C 2016/06/29 22:32:48 1.18 +++ gvpe/src/gvpectrl.C 2016/06/29 22:36:23 1.19 @@ -284,13 +284,13 @@ #if OPENSSL_VERSION_NUMBER < 0x10100000 BN_GENCB cb; BN_GENCB_set (&cb, indicator, 0); + require (RSA_generate_key_ex (rsa, bits, e, &cb)); #else BN_GENCB *cb = BN_GENCB_new (); BN_GENCB_set (cb, indicator, 0); + require (RSA_generate_key_ex (rsa, bits, e, cb)); #endif - require (RSA_generate_key_ex (rsa, bits, e, &cb)); - fprintf (stderr, _("Done.\n")); fname = conf.config_filename ("pubkey/%s", 0);