Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1750140817, "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":"e9db7a45abbade49c9289b104816351a", "commit": {"type":"commit", "time": 1519422599, "time_ofs": 18446744073709551316, "oid_tree": { "oid": "1f883a7927f214b7676b7f067e0298d60b836464", "alias": []}, "oid":{ "oid": "77376c0507b6159b94fc092d7fcd7e7c7a3ed7d9", "alias": []}, "msg": "Remove OSSLzu, and fix the one place that used it.", "sig_commit": { "git_time": { "time": 1519422599, "offset": -300 }, "name": "Rich Salz", "email": "rsalz@openssl.org", "md5": "3ed6b9cf7bbe83902a044f6590346d26" }, "sig_author": { "git_time": { "time": 1519422599, "offset": -300 }, "name": "Rich Salz", "email": "rsalz@openssl.org", "md5": "3ed6b9cf7bbe83902a044f6590346d26" }}, "body": "Remove OSSLzu, and fix the one place that used it.\n\nReviewed-by: Andy Polyakov \u003cappro@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/5439)\n" , "diff": "diff --git a/e_os.h b/e_os.h\nindex f3b8fb8..3e92716 100644\n--- a/e_os.h\n+++ b/e_os.h\n@@ -26,33 +26,6 @@\n extern \u0022C\u0022 {\n #endif\n \n-/*\n- * Format specifier for printing size_t. Original conundrum was to\n- * get it working with -Wformat [-Werror], which can be considered\n- * overzealous, especially in multi-platform context, but it's\n- * conscious choice...\n- */\n-# if defined(_WIN64)\n-# define OSSLzu \u0022I64u\u0022 /* One would expect _WIN{64|32} cases after\n- * __STDC_VERSION__, but there are corner\n- * cases of MinGW compilers that link with\n- * non-compliant MSVCRT.DLL... */\n-# elif defined(_WIN32)\n-# define OSSLzu \u0022u\u0022\n-# elif defined(__VMS)\n-# define OSSLzu \u0022u\u0022 /* VMS suffers from similar problem as MinGW,\n- * i.e. C RTL falling behind compiler. Recall\n- * that sizeof(size_t)\u003d\u003d4 even in LP64 case. */\n-# elif defined(__STDC_VERSION__) \u0026\u0026 __STDC_VERSION__ \u003e\u003d 199901L\n-# define OSSLzu \u0022zu\u0022\n-# elif defined(__SIZEOF_SIZE_T__) \u0026\u0026 __SIZEOF_SIZE_T__\u003d\u003d4\n-# define OSSLzu \u0022u\u0022 /* 'lu' should have worked, but when generating\n- * 32-bit code gcc still complains :-( */\n-# else\n-# define OSSLzu \u0022lu\u0022 /* To see that is works recall what does L\n- * stand for in ILP32 and LP64 */\n-# endif\n-\n # ifndef DEVRANDOM\n /*\n * set this to a comma-separated list of 'random' device files to try out. By\ndiff --git a/ssl/record/ssl3_record.c b/ssl/record/ssl3_record.c\nindex a806606..fda918a 100644\n--- a/ssl/record/ssl3_record.c\n+++ b/ssl/record/ssl3_record.c\n@@ -550,7 +550,7 @@ int ssl3_get_record(SSL *s)\n return -1;\n }\n #ifdef SSL_DEBUG\n- printf(\u0022dec %\u0022OSSLzu\u0022\u005cn\u0022, rr[0].length);\n+ printf(\u0022dec %lu\u005cn\u0022, (unsigned long)rr[0].length);\n {\n size_t z;\n for (z \u003d 0; z \u003c rr[0].length; z++)\n","s":{"c":1750140817,"u": 62697}} ],"g": 64321,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}