{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/1354","labels_url":"https://api.github.com/repos/iojs/io.js/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/1354/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/1354/events","html_url":"https://github.com/iojs/io.js/pull/1354","id":66547054,"number":1354,"title":"fix install source path for openssl headers","user":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iojs/io.js/labels/openssl","name":"openssl","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-06T07:14:44Z","updated_at":"2015-04-06T07:45:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/1354","html_url":"https://github.com/iojs/io.js/pull/1354","diff_url":"https://github.com/iojs/io.js/pull/1354.diff","patch_url":"https://github.com/iojs/io.js/pull/1354.patch"},"body":"This part is broken for a very long time. We noticed the problem while using jxcore native interface with embedded openssl. I've also sent a pull request to node.js repo. The problem may affect a native addon using builtin openssl."},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/89961490","html_url":"https://github.com/iojs/io.js/pull/1354#issuecomment-89961490","issue_url":"https://api.github.com/repos/iojs/io.js/issues/1354","id":89961490,"user":{"login":"shigeki","id":782880,"avatar_url":"https://avatars.githubusercontent.com/u/782880?v=3","gravatar_id":"","url":"https://api.github.com/users/shigeki","html_url":"https://github.com/shigeki","followers_url":"https://api.github.com/users/shigeki/followers","following_url":"https://api.github.com/users/shigeki/following{/other_user}","gists_url":"https://api.github.com/users/shigeki/gists{/gist_id}","starred_url":"https://api.github.com/users/shigeki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shigeki/subscriptions","organizations_url":"https://api.github.com/users/shigeki/orgs","repos_url":"https://api.github.com/users/shigeki/repos","events_url":"https://api.github.com/users/shigeki/events{/privacy}","received_events_url":"https://api.github.com/users/shigeki/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T07:45:51Z","updated_at":"2015-04-06T07:45:51Z","body":"This has a problem because `deps/openssl/conf/opensslconf.h` is overwritten by `deps/openssl/openssl/include/openssl/opensslconf.h`. A fix to change the order to copy include files is needed such as\r\n```diff\r\ndiff --git a/tools/install.py b/tools/install.py\r\nindex 094cadb..2d00cf0 100755\r\n--- a/tools/install.py\r\n+++ b/tools/install.py\r\n@@ -173,8 +173,8 @@ def files(action):\r\n     subdir_files('deps/uv/include', 'include/node/', action)\r\n\r\n   if 'false' == variables.get('node_shared_openssl'):\r\n-    action(['deps/openssl/config/opensslconf.h'], 'include/node/openssl/')\r\n     subdir_files('deps/openssl/openssl/include/openssl', 'include/node/openssl/', action)\r\n+    action(['deps/openssl/config/opensslconf.h'], 'include/node/openssl/')\r\n\r\n   if 'false' == variables.get('node_shared_v8'):\r\n     subdir_files('deps/v8/include', 'include/node/', action)\r\n````\r\n@obastemur Could you fix your patch?"}}