Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1753413033, "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":"7cdf6083c8e6ad673560a56f3c8992dd", "commit": {"type":"commit", "time": 1484032905, "time_ofs": 60, "oid_tree": { "oid": "005f65834f3632c0b08eaa3046c1404000d865a5", "alias": []}, "oid":{ "oid": "807d21066f8f0e3aba85221fbff824f96b9341be", "alias": []}, "msg": "Remove unused ret variable", "sig_commit": { "git_time": { "time": 1484032905, "offset": 60 }, "name": "Richard Levitte", "email": "levitte@openssl.org", "md5": "b737120f0642a6a5c30c6291e6170c77" }, "sig_author": { "git_time": { "time": 1477739190, "offset": 180 }, "name": "Iaroslav Gridin", "email": "voker57@gmail.com", "md5": "e23779fa2ae7e45edb05e15d43be3e05" }}, "body": "Remove unused ret variable\n\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/1784)" , "diff": "diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c\nindex d71b03e..ad872fd 100644\n--- a/crypto/engine/eng_cryptodev.c\n+++ b/crypto/engine/eng_cryptodev.c\n@@ -1131,8 +1131,6 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md)\n struct dev_crypto_state *state \u003d EVP_MD_CTX_md_data(ctx);\n struct session_op *sess \u003d \u0026state-\u003ed_sess;\n \n- int ret \u003d 1;\n-\n if (!md || state-\u003ed_fd \u003c 0) {\n printf(\u0022cryptodev_digest_final: illegal input\u005cn\u0022);\n return (0);\n@@ -1157,7 +1155,7 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md)\n \n memcpy(md, state-\u003edigest_res, EVP_MD_CTX_size(ctx));\n \n- return (ret);\n+ return 1;\n }\n \n static int cryptodev_digest_cleanup(EVP_MD_CTX *ctx)\n","s":{"c":1753413033,"u": 24497}} ],"g": 28695,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}