MCPcopy Create free account
hub / github.com/apache/qpid-proton / main

Function main

cpp/examples/ssl_client_cert.cpp:136–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134};
135
136int main(int argc, char **argv) {
137 try {
138 // Location of certificates and private key information:
139 if (argc > 1) {
140 cert_directory = argv[1];
141 size_t sz = cert_directory.size();
142 if (sz && cert_directory[sz -1] != '/')
143 cert_directory.append("/");
144 } else {
145 cert_directory = "ssl-certs/";
146 }
147 hello_world_direct hwd;
148 proton::container(hwd).run();
149 return 0;
150 } catch (const std::exception& e) {
151 std::cerr << e.what() << std::endl;
152 }
153 return 1;
154}
155
156
157bool using_OpenSSL() {

Callers

nothing calls this directly

Calls 5

containerClass · 0.50
sizeMethod · 0.45
appendMethod · 0.45
runMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected