{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1752811908,
"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":"e9beb9c5dcde17534e47badc192fa62a",
"commit": {"type":"commit",
"time": 1560826407,
"time_ofs": 600,
"oid_tree": { "oid": "8c735369b6178047a85cd35a2bd42ea9ec066d31", "alias": []},
"oid":{ "oid": "10bf5068190ab25324648dd4a0becd4bd46ecc37", "alias": []},
"msg": "Swap #if blocks in uid.c so target platform gets checked before host",
"sig_commit": { "git_time": { "time": 1560826407, "offset": 600 }, "name": "Pauli", "email": "paul.dale@oracle.com", "md5": "4616f8cb80bd6ce4dab75d05e07cd125" },
"sig_author": { "git_time": { "time": 1560463787, "offset": -360 }, "name": "Rebecca Cran", "email": "rebecca@bluestop.org", "md5": "8e60a23e46ff2f0bec4fb0bd23d85071" }},
"body": "Swap #if blocks in uid.c so target platform gets checked before host\n\nThis avoids the case where a UEFI build on FreeBSD tries to call the system\nissetugid function instead of returning 0 as it should do.\n\nCLA: trivial\n\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\nReviewed-by: Paul Dale \u003cpaul.dale@oracle.com\u003e\n(Merged from https://github.com/openssl/openssl/pull/9158)\n"
,
"diff": "diff --git a/crypto/uid.c b/crypto/uid.c\nindex b2b0964..65b1171 100644\n--- a/crypto/uid.c\n+++ b/crypto/uid.c\n@@ -10,20 +10,20 @@\n #include \u003copenssl/crypto.h\u003e\n #include \u003copenssl/opensslconf.h\u003e\n \n-#if defined(__OpenBSD__) || (defined(__FreeBSD__) \u0026\u0026 __FreeBSD__ \u003e 2) || defined(__DragonFly__)\n-\n-# include OPENSSL_UNISTD\n+#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)\n \n int OPENSSL_issetugid(void)\n {\n- return issetugid();\n+ return 0;\n }\n \n-#elif defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VXWORKS) || defined(OPENSSL_SYS_UEFI)\n+#elif defined(__OpenBSD__) || (defined(__FreeBSD__) \u0026\u0026 __FreeBSD__ \u003e 2) || defined(__DragonFly__)\n+\n+# include OPENSSL_UNISTD\n \n int OPENSSL_issetugid(void)\n {\n- return 0;\n+ return issetugid();\n }\n \n #else\n","s":{"c":1752811908,"u": 37671}}
],"g": 39150,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}