Home | History | Annotate | Download | only in tool

Lines Matching full:c_str

95   if (!bio || !BIO_read_filename(bio.get(), file.c_str())) {
160 !SSL_CTX_set_cipher_list(ctx.get(), args_map["-cipher"].c_str())) {
169 args_map["-max-version"].c_str());
179 args_map["-min-version"].c_str());
188 fprintf(stderr, "Bad NPN protocol: '%s'\n", proto.c_str());
193 const_cast<char *>(proto.c_str()));
207 fprintf(stderr, "Invalid ALPN protocols: '%s'\n", alpn_protos.c_str());
245 if (!SSL_CTX_use_PrivateKey_file(ctx.get(), key.c_str(), SSL_FILETYPE_PEM)) {
246 fprintf(stderr, "Failed to load private key: %s\n", key.c_str());
249 if (!SSL_CTX_use_certificate_chain_file(ctx.get(), key.c_str())) {
250 fprintf(stderr, "Failed to load cert chain: %s\n", key.c_str());
264 SSL_set_tlsext_host_name(ssl.get(), args_map["-server-name"].c_str());
268 ScopedBIO in(BIO_new_file(args_map["-session-in"].c_str(), "rb"));
299 ScopedBIO out(BIO_new_file(args_map["-session-out"].c_str(), "wb"));