{"action":"created","issue":{"url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/183","repository_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug","labels_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/183/comments","events_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/183/events","html_url":"https://github.com/jpmens/mosquitto-auth-plug/issues/183","id":197558323,"number":183,"title":"0.0.9 will not build against Openssl 1.0.2","user":{"login":"brandond","id":370103,"avatar_url":"https://avatars.githubusercontent.com/u/370103?v=3","gravatar_id":"","url":"https://api.github.com/users/brandond","html_url":"https://github.com/brandond","followers_url":"https://api.github.com/users/brandond/followers","following_url":"https://api.github.com/users/brandond/following{/other_user}","gists_url":"https://api.github.com/users/brandond/gists{/gist_id}","starred_url":"https://api.github.com/users/brandond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandond/subscriptions","organizations_url":"https://api.github.com/users/brandond/orgs","repos_url":"https://api.github.com/users/brandond/repos","events_url":"https://api.github.com/users/brandond/events{/privacy}","received_events_url":"https://api.github.com/users/brandond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-26T08:38:12Z","updated_at":"2016-12-26T08:40:27Z","closed_at":null,"body":"It appears that commit a3575f1355e72469d08b38586d64d16863068fb9 broke compilation against older versions of OpenSSL - in my case 1.0.2j. Fails with:\r\n```\r\ncc -I/usr/src/ -I/usr/lib/ -fPIC -Wall -Werror  -DBE_MYSQL -DBE_HTTP -DBE_JWT  `mysql_config --cflags` -I/src -DDEBUG=1 -I/usr/include   -c -o cache.o cache.c\r\ncache.c: In function 'sha_hash':\r\ncache.c:48:23: error: implicit declaration of function 'EVP_MD_CTX_new' [-Werror=implicit-function-declaration]\r\n   EVP_MD_CTX *mdctx = EVP_MD_CTX_new();\r\n                       ^\r\ncache.c:48:23: error: initialization makes pointer from integer without a cast [-Werror=int-conversion]\r\ncache.c:53:3: error: implicit declaration of function 'EVP_MD_CTX_free' [-Werror=implicit-function-declaration]\r\n   EVP_MD_CTX_free(mdctx);\r\n   ^\r\ncc1: all warnings being treated as errors\r\n<builtin>: recipe for target 'cache.o' failed\r\nmake: *** [cache.o] Error 1\r\n```\r\n\r\nProbably need some OpenSSL version conditionals in there."},"comment":{"url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/comments/269184642","html_url":"https://github.com/jpmens/mosquitto-auth-plug/issues/183#issuecomment-269184642","issue_url":"https://api.github.com/repos/jpmens/mosquitto-auth-plug/issues/183","id":269184642,"user":{"login":"brandond","id":370103,"avatar_url":"https://avatars.githubusercontent.com/u/370103?v=3","gravatar_id":"","url":"https://api.github.com/users/brandond","html_url":"https://github.com/brandond","followers_url":"https://api.github.com/users/brandond/followers","following_url":"https://api.github.com/users/brandond/following{/other_user}","gists_url":"https://api.github.com/users/brandond/gists{/gist_id}","starred_url":"https://api.github.com/users/brandond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandond/subscriptions","organizations_url":"https://api.github.com/users/brandond/orgs","repos_url":"https://api.github.com/users/brandond/repos","events_url":"https://api.github.com/users/brandond/events{/privacy}","received_events_url":"https://api.github.com/users/brandond/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T08:40:27Z","updated_at":"2016-12-26T08:40:27Z","body":"FWIW, here's how Mosquitto handled OpenSSL 1.1.0: https://github.com/eclipse/mosquitto/commit/fff741613eb9dbf462ba7eafe9d9f15f80a9c623"}}
{"actor":{"display_login":"brandond"}}