{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1753078486,
"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":"3121b264170f9c929881c0b2b586c1f2",
"commit": {"type":"commit",
"time": 1491488165,
"time_ofs": 120,
"oid_tree": { "oid": "67f76bae84ed5d036419d5830322a77d0fbf9d13", "alias": []},
"oid":{ "oid": "005f6766284155645fa760cf764f85031e209f6c", "alias": []},
"msg": "e_os2.h: Refine OSSL_SSIZE definition under UEFI environment",
"sig_commit": { "git_time": { "time": 1491488165, "offset": 120 }, "name": "Andy Polyakov", "email": "appro@openssl.org", "md5": "50bd64fa2a792cbbf679fa16213a3b2a" },
"sig_author": { "git_time": { "time": 1491325696, "offset": 480 }, "name": "Qin Long", "email": "qin.long@intel.com", "md5": "98ca0244c2ef74e3c619202972c1ec3e" }},
"body": "e_os2.h: Refine OSSL_SSIZE definition under UEFI environment\n\nUnder UEFI build environment, we may encounter the OSSL_SSIZE macro\nre-definition error in e_os2.h if any module call OpenSSL API directly\nby including \u0022openssl/xxxx.h\u0022 (caused by the predefined _WIN32/_WIN64\nmacro, which should have been un-defined under OPENSSL_SYS_UEFI).\n\nThough it's not one recommended usage, this patch could still eliminate\nthe possible build issue by refining the OSSL_SSIZE definition under\nOPENSSL_SYS_UEFI.\n\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\nReviewed-by: Andy Polyakov \u003cappro@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/3121)\n"
,
"diff": "diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h\nindex 717cadf..746dd8f 100644\n--- a/include/openssl/e_os2.h\n+++ b/include/openssl/e_os2.h\n@@ -206,9 +206,9 @@ extern \u0022C\u0022 {\n # endif\n # endif\n \n-# if defined(OPENSSL_SYS_UEFI) \u0026\u0026 !defined(ssize_t)\n-# define ossl_ssize_t int\n-# define OSSL_SSIZE_MAX INT_MAX\n+# if defined(OPENSSL_SYS_UEFI) \u0026\u0026 !defined(ossl_ssize_t)\n+# define ossl_ssize_t INTN\n+# define OSSL_SSIZE_MAX MAX_INTN\n # endif\n \n # ifndef ossl_ssize_t\n","s":{"c":1753078486,"u": 27527}}
],"g": 28854,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}