{"action":"created","issue":{"url":"https://api.github.com/repos/nmap/nmap/issues/439","repository_url":"https://api.github.com/repos/nmap/nmap","labels_url":"https://api.github.com/repos/nmap/nmap/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/nmap/nmap/issues/439/comments","events_url":"https://api.github.com/repos/nmap/nmap/issues/439/events","html_url":"https://github.com/nmap/nmap/issues/439","id":162326786,"number":439,"title":"Update Nmap to work with OpenSSL 1.1","user":{"login":"dmiller-nmap","id":10443029,"avatar_url":"https://avatars.githubusercontent.com/u/10443029?v=3","gravatar_id":"","url":"https://api.github.com/users/dmiller-nmap","html_url":"https://github.com/dmiller-nmap","followers_url":"https://api.github.com/users/dmiller-nmap/followers","following_url":"https://api.github.com/users/dmiller-nmap/following{/other_user}","gists_url":"https://api.github.com/users/dmiller-nmap/gists{/gist_id}","starred_url":"https://api.github.com/users/dmiller-nmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmiller-nmap/subscriptions","organizations_url":"https://api.github.com/users/dmiller-nmap/orgs","repos_url":"https://api.github.com/users/dmiller-nmap/repos","events_url":"https://api.github.com/users/dmiller-nmap/events{/privacy}","received_events_url":"https://api.github.com/users/dmiller-nmap/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nmap/nmap/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/nmap/nmap/labels/Ncat","name":"Ncat","color":"fef2c0"},{"url":"https://api.github.com/repos/nmap/nmap/labels/Nmap","name":"Nmap","color":"5319e7"},{"url":"https://api.github.com/repos/nmap/nmap/labels/Nping","name":"Nping","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-26T13:00:11Z","updated_at":"2016-07-06T10:28:00Z","closed_at":null,"body":"OpenSSL 1.1 will be released soon, and Nmap currently fails to build with it. There are 2 parts of this task:\r\n\r\n1. Fix the build, using preprocessor macros when necessary to ensure that it still builds with the OpenSSL 1.0.x branches.\r\n2. Research and document any functional changes to the way Nmap does things. Issues in the past have been: removal of SSLv2, needing backwards-compatible handshake methods, addition of SNI-related calls.\r\n\r\nReferences:\r\n* [FTBFS bug on Debian](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828454)\r\n* [OpenSSL API changes in 1.1](https://wiki.openssl.org/index.php/1.1_API_Changes)"},"comment":{"url":"https://api.github.com/repos/nmap/nmap/issues/comments/230735792","html_url":"https://github.com/nmap/nmap/issues/439#issuecomment-230735792","issue_url":"https://api.github.com/repos/nmap/nmap/issues/439","id":230735792,"user":{"login":"W0naN0w","id":16716213,"avatar_url":"https://avatars.githubusercontent.com/u/16716213?v=3","gravatar_id":"","url":"https://api.github.com/users/W0naN0w","html_url":"https://github.com/W0naN0w","followers_url":"https://api.github.com/users/W0naN0w/followers","following_url":"https://api.github.com/users/W0naN0w/following{/other_user}","gists_url":"https://api.github.com/users/W0naN0w/gists{/gist_id}","starred_url":"https://api.github.com/users/W0naN0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/W0naN0w/subscriptions","organizations_url":"https://api.github.com/users/W0naN0w/orgs","repos_url":"https://api.github.com/users/W0naN0w/repos","events_url":"https://api.github.com/users/W0naN0w/events{/privacy}","received_events_url":"https://api.github.com/users/W0naN0w/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T10:27:59Z","updated_at":"2016-07-06T10:27:59Z","body":"Hello @dmiller-nmap, I've successfully installed OpenSSL 1.1 on both Ubuntu 14.04 and Mac OS 10.11.5. Unfortunately, it seems like some structure declarations we are currently using have been moved into the internal part of version 1.1.0-pre5. Here is an example of the errors I am encountering:\r\n```\r\nnse_openssl.cc:284:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'evp_md_ctx_st')\r\n  EVP_MD_CTX mdctx;\r\n             ^\r\n/Users/veagle/openssl1.1-inst/include/openssl/ossl_typ.h:136:16: note: forward declaration of 'evp_md_ctx_st'\r\ntypedef struct evp_md_ctx_st EVP_MD_CTX;\r\n```\r\nWith internal headers included directly, everything seems to work fine, but I can't figure out a way to include these the usual way (<header>). For example, I couldn't include openssl/crypto/evp/evp_locl.h (even with `#include <openssl/evp_locl.h>`) neither the internal ones.\r\n\r\nWhat would be the best solution here? Import the internal headers? Maybe the openssl team is working on it and moving the proper structure declarations into the right place. \r\n\r\nWaiting for your comments,\r\nCheers"}}
{"actor":{"display_login":"W0naN0w"}}