Skip to content

Commit

Permalink
feat: added http certificate retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
mereacre committed Jan 9, 2024
1 parent 0d102d1 commit 6292b4d
Show file tree
Hide file tree
Showing 12 changed files with 9,457 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/linux/src/brski/brski",
"args": ["-c", "${workspaceFolder}/build/linux/tests/brski/test-config.ini", "-dddddddd", "registrar"],
"args": ["-c", "${workspaceFolder}/build/linux/tests/brski/test-config.ini", "-dddddddd", "preq"],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
Expand Down
5 changes: 5 additions & 0 deletions src/brski/http/http.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ struct RouteTuple {
RouteHandle handle;
};

struct HttpResponse {
std::string response;
CRYPTO_CERT peer_certificate;
};

struct http_config {
char *bind_address;
unsigned int port;
Expand Down
Loading

0 comments on commit 6292b4d

Please sign in to comment.