Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752652952, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"15516b5e8a8ca938427bc51381524378", "commit": {"type":"commit", "time": 1536063851, "time_ofs": 120, "oid_tree": { "oid": "1584749d07f8ca7200cf26f7c8f6198f67340032", "alias": []}, "oid":{ "oid": "17147181bd3f97c53592e2a5c9319b854b954039", "alias": []}, "msg": "openssl req: don't try to report bits", "sig_commit": { "git_time": { "time": 1536063851, "offset": 120 }, "name": "Richard Levitte", "email": "levitte@openssl.org", "md5": "b737120f0642a6a5c30c6291e6170c77" }, "sig_author": { "git_time": { "time": 1535973423, "offset": 120 }, "name": "Richard Levitte", "email": "levitte@openssl.org", "md5": "b737120f0642a6a5c30c6291e6170c77" }}, "body": "openssl req: don't try to report bits\n\nWith the introduction of -pkeyopt, the number of bits may change\nwithout |newkey| being updated. Unfortunately, there is no API to\nretrieve the information from a EVP_PKEY_CTX either, so chances are\nthat we report incorrect information. For the moment, it's better not\nto try to report the number of bits at all.\n\nFixes #7086\n\nReviewed-by: Paul Yang \u003cyang.yang@baishancloud.com\u003e\nReviewed-by: Paul Dale \u003cpaul.dale@oracle.com\u003e\n(Merged from https://github.com/openssl/openssl/pull/7096)\n" , "diff": "diff --git a/apps/req.c b/apps/req.c\nindex 08a1468..6fd28a2 100644\n--- a/apps/req.c\n+++ b/apps/req.c\n@@ -622,8 +622,7 @@ int req_main(int argc, char **argv)\n if (pkey_type \u003d\u003d EVP_PKEY_EC) {\n BIO_printf(bio_err, \u0022Generating an EC private key\u005cn\u0022);\n } else {\n- BIO_printf(bio_err, \u0022Generating a %ld bit %s private key\u005cn\u0022,\n- newkey, keyalgstr);\n+ BIO_printf(bio_err, \u0022Generating a %s private key\u005cn\u0022, keyalgstr);\n }\n \n EVP_PKEY_CTX_set_cb(genctx, genpkey_cb);\n","s":{"c":1752652952,"u": 39256}} ],"g": 40649,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}