Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1756753752, "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":"7780f54f0cc95c5b2a802e1a142093d3", "commit": {"type":"commit", "time": 1430068324, "time_ofs": 18446744073709551376, "oid_tree": { "oid": "86425ca0a7439b242bef1ddbafb8dafe11682059", "alias": []}, "oid":{ "oid": "88806cfc611935981e3752dccda1685022be2e2b", "alias": []}, "msg": "Fix main build breakage.", "sig_commit": { "git_time": { "time": 1430068324, "offset": -240 }, "name": "Rich Salz", "email": "rsalz@akamai.com", "md5": "825a7f3ef767f852ea1717d3b4a10cd3" }, "sig_author": { "git_time": { "time": 1430068324, "offset": -240 }, "name": "Rich Salz", "email": "rsalz@akamai.com", "md5": "825a7f3ef767f852ea1717d3b4a10cd3" }}, "body": "Fix main build breakage.\n\nA variable declaration got dropped during a merge.\nAnd if a compiler inlines strcmp() and you put a strcmp in an\nassert message, the resultant stringification exceeds ANSI string\nlimits.\n\nReviewed-by: Viktor Dukhovni \u003cviktor@openssl.org\u003e\n" , "diff": "diff --git a/apps/ocsp.c b/apps/ocsp.c\nindex c58cd44..d22ce7d 100644\n--- a/apps/ocsp.c\n+++ b/apps/ocsp.c\n@@ -222,6 +222,7 @@ int ocsp_main(int argc, char **argv)\n STACK_OF(OCSP_CERTID) *ids \u003d NULL;\n STACK_OF(OPENSSL_STRING) *reqnames \u003d NULL;\n STACK_OF(X509) *sign_other \u003d NULL, *verify_other \u003d NULL, *rother \u003d NULL;\n+ STACK_OF(X509) *issuers \u003d NULL;\n X509 *issuer \u003d NULL, *cert \u003d NULL, *rca_cert \u003d NULL;\n X509 *signer \u003d NULL, *rsigner \u003d NULL;\n X509_STORE *store \u003d NULL;\ndiff --git a/apps/opt.c b/apps/opt.c\nindex 3706739..df2bea5 100644\n--- a/apps/opt.c\n+++ b/apps/opt.c\n@@ -171,7 +171,7 @@ char *opt_init(int ac, char **av, const OPTIONS *o)\n for (; o-\u003ename; ++o) {\n const OPTIONS *next;\n #ifndef NDEBUG\n- int i;\n+ int duplicated, i;\n #endif\n \n if (o-\u003ename \u003d\u003d OPT_HELP_STR || o-\u003ename \u003d\u003d OPT_MORE_STR)\n@@ -188,11 +188,12 @@ char *opt_init(int ac, char **av, const OPTIONS *o)\n || i \u003d\u003d 'f' || i \u003d\u003d 'F');\n \n /* Make sure there are no duplicates. */\n- for (next \u003d o; (++next)-\u003ename;) {\n+ for (next \u003d o + 1; next-\u003ename; ++next) {\n /*\n- * do allow aliases: assert(o-\u003eretval !\u003d next-\u003eretval);\n+ * Some compilers inline strcmp and the assert string is too long.\n */\n- assert(strcmp(o-\u003ename, next-\u003ename) !\u003d 0);\n+ duplicated \u003d strcmp(o-\u003ename, next-\u003ename) \u003d\u003d 0;\n+ assert(!duplicated);\n }\n #endif\n if (o-\u003ename[0] \u003d\u003d '\u005c0') {\n","s":{"c":1756753752,"u": 8531}} ],"g": 9354,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}