Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1752659770, "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":"88701279231a56c0cd36edd399700f57", "commit": {"type":"commit", "time": 1537141485, "time_ofs": 600, "oid_tree": { "oid": "2fae39da63e3ec600d1df9a453e6e9076367d929", "alias": []}, "oid":{ "oid": "4978ecb26e6cda98cff002d7ecece1a2bc147499", "alias": []}, "msg": "Add a compile time test to verify that openssl/rsa.h and complex.h can coexist.", "sig_commit": { "git_time": { "time": 1537141485, "offset": 600 }, "name": "Pauli", "email": "paul.dale@oracle.com", "md5": "4616f8cb80bd6ce4dab75d05e07cd125" }, "sig_author": { "git_time": { "time": 1537135765, "offset": 600 }, "name": "Pauli", "email": "paul.dale@oracle.com", "md5": "4616f8cb80bd6ce4dab75d05e07cd125" }}, "body": "Add a compile time test to verify that openssl/rsa.h and complex.h can\ncoexist.\n\nReviewed-by: Tim Hudson \u003ctjh@openssl.org\u003e\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/7233)\n\n(cherry picked from commit da5fac72b1cba5651b871902eea234e693cf01e5)\n" , "diff": "diff --git a/.gitignore b/.gitignore\nindex d618cd6..1b0f25c 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -59,6 +59,7 @@ Makefile\n /test/v3ext\n /test/versions\n /test/ossl_shim/ossl_shim\n+/test/rsa_complex\n \n # Certain files that get created by tests on the fly\n /test/test-runs\ndiff --git a/test/build.info b/test/build.info\nindex 08657c8..df448d0 100644\n--- a/test/build.info\n+++ b/test/build.info\n@@ -26,7 +26,7 @@ INCLUDE_MAIN___test_libtestutil_OLB \u003d /INCLUDE\u003dMAIN\n PROGRAMS_NO_INST\u003d\u005c\n versions \u005c\n aborttest test_test \u005c\n- sanitytest exdatatest bntest \u005c\n+ sanitytest rsa_complex exdatatest bntest \u005c\n ectest ecstresstest ecdsatest gmdifftest pbelutest ideatest \u005c\n md2test \u005c\n hmactest \u005c\n@@ -64,6 +64,9 @@ INCLUDE_MAIN___test_libtestutil_OLB \u003d /INCLUDE\u003dMAIN\n INCLUDE[sanitytest]\u003d../include\n DEPEND[sanitytest]\u003d../libcrypto libtestutil.a\n \n+ SOURCE[rsa_complex]\u003drsa_complex.c\n+ INCLUDE[rsa_complex]\u003d../include\n+\n SOURCE[test_test]\u003dtest_test.c\n INCLUDE[test_test]\u003d../include\n DEPEND[test_test]\u003d../libcrypto libtestutil.a\ndiff --git a/test/rsa_complex.c b/test/rsa_complex.c\nnew file mode 100644\nindex 0000000..fac5812\n--- /dev/null\n+++ b/test/rsa_complex.c\n@@ -0,0 +1,27 @@\n+/*\n+ * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.\n+ *\n+ * Licensed under the OpenSSL license (the \u0022License\u0022). You may not use\n+ * this file except in compliance with the License. You can obtain a copy\n+ * in the file LICENSE in the source distribution or at\n+ * https://www.openssl.org/source/license.html\n+ */\n+\n+/*\n+ * Check to see if there is a conflict between complex.h and openssl/rsa.h.\n+ * The former defines \u0022I\u0022 as a macro and earlier versions of the latter use\n+ * for function arguments.\n+ */\n+#if defined(__STDC_VERSION__)\n+# if __STDC_VERSION__ \u003e\u003d 199901L\n+# include \u003ccomplex.h\u003e\n+# endif\n+#endif\n+#include \u003copenssl/rsa.h\u003e\n+#include \u003cstdlib.h\u003e\n+\n+int main(int argc, char *argv[])\n+{\n+ /* There are explicitly no run time checks for this one */\n+ return EXIT_SUCCESS;\n+}\n","s":{"c":1752659770,"u": 38631}} ],"g": 39497,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}