{"id":22760479,"url":"https://github.com/funatsufumiya/ofxopenssl3","last_synced_at":"2025-03-30T08:44:17.939Z","repository":{"id":261539764,"uuid":"884608350","full_name":"funatsufumiya/ofxOpenSSL3","owner":"funatsufumiya","description":"OpenSSL3 for openFrameworks","archived":false,"fork":false,"pushed_at":"2024-11-07T05:16:16.000Z","size":17299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T05:06:27.300Z","etag":null,"topics":["openframeworks-addon"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/funatsufumiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-07T04:02:23.000Z","updated_at":"2024-11-07T07:45:18.000Z","dependencies_parsed_at":"2024-11-07T05:27:54.732Z","dependency_job_id":null,"html_url":"https://github.com/funatsufumiya/ofxOpenSSL3","commit_stats":null,"previous_names":["funatsufumiya/ofxopenssl3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funatsufumiya%2FofxOpenSSL3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funatsufumiya%2FofxOpenSSL3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funatsufumiya%2FofxOpenSSL3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funatsufumiya%2FofxOpenSSL3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funatsufumiya","download_url":"https://codeload.github.com/funatsufumiya/ofxOpenSSL3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246296562,"owners_count":20754632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openframeworks-addon"],"created_at":"2024-12-11T09:07:15.000Z","updated_at":"2025-03-30T08:44:17.914Z","avatar_url":"https://github.com/funatsufumiya.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ofxOpenSSL3\n\nOpenSSL3 for openFrameworks\n\n- openssl version: [3.2.2](https://github.com/openssl/openssl/blob/openssl-3.2.2/)\n- Tested on oF v0.12.0\n  - macOS (arm64)\n  - Linux (x64)\n  - Windows (x64) **WARN: Experimental**\n\n## Notes\n\n- This lib won't work with `ofxPoco`, because `ofxPoco` includes OpenSSL \u003c 3.0.0 in it.\n- On windows, you should use `#include \u003copenssl3/xxx\u003e` instaed of `#include \u003copenssl/xxx\u003e`.\n\t- Renamed because openssl \u003c 3.0.0 **will be loaded by default** by oF system (on oF v0.12.0)\n\t- This may cause other unknown issues, because using with different version of openssl.\n\t- So windows support is **experimental**.\n\n## Usage\n\nSee [example_http_client](example_http_client).\n\n- Please use `projectGenerator` before run it.\n- Same example of [ofxHttpLib](https://github.com/funatsufumiya/ofxHttpLib) is used here, so you need install `ofxHttpLib` before run this example.\n\n```cpp\n#define CPPHTTPLIB_OPENSSL_SUPPORT\n\n// need this for windows ofxOpenSSL3\n#define USE_OPENSSL3_INSTEAD_OF_OPENSSL_WIN 1\n\n// NOTE: Need to be here to avoid conflict with openssl \u003c 3.0.0 (especially on Windows)\n#include \"httplib.h\"\n\n#include \"ofApp.h\"\n\n//--------------------------------------------------------------\nvoid ofApp::setup(){\n\tofLogToConsole();\n\n\thttplib::Client cli(\"https://httpbin.org\");\n\n\tauto res = cli.Get(\"/ip\");\n\n\tif (res) {\n\t\tofLogNotice(\"ofApp\") \u003c\u003c \"res-\u003estatus = \" \u003c\u003c res-\u003estatus;\n\t\tofLogNotice(\"ofApp\") \u003c\u003c \"res-\u003ebody = \" \u003c\u003c res-\u003ebody;\n\t} else {\n\t\tofLogError(\"ofApp\") \u003c\u003c \"error: \" \u003c\u003c res.error();\n\t}\n}\n\n// Result:\n// [notice ] ofApp: res-\u003estatus = 200\n// [notice ] ofApp: res-\u003ebody = {\n//   \"origin\": \"xxx.xxx.xxx.xxx\"\n// }\n```\n\n## LICENSE\n\n- openssl-3.2.2: [Apache License 2.0](https://github.com/openssl/openssl/blob/openssl-3.2.2/LICENSE.txt)\n\nNOTE: No specific copyright is claimed for this repository changes (for oF binding), but the [Apache License 2.0](LICENSE_APACHE) or [MIT License](LICENSE_MIT) can be applied if necessary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunatsufumiya%2Fofxopenssl3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunatsufumiya%2Fofxopenssl3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunatsufumiya%2Fofxopenssl3/lists"}