| От | Andrew Chernow |
|---|---|
| Тема | Re: new libpq SSL connection option |
| Дата | |
| Msg-id | 495E2353.9000201@esilo.com обсуждение исходный текст |
| Ответ на | Re: new libpq SSL connection option (Magnus Hagander <magnus@hagander.net>) |
| Список | pgsql-hackers |
> > Also, it looks like we have the same problem with the private key, in > client_cert_cb(), agreed? > > > //Magnus > Yeah, same issue in that function. I missed that. My grep'n was obviously brain dead. It almost feels like there should be some util functions like get_sslrootcert(conn, path_buf, buf_size) for each of the SSL files. Isolate the logic behind a function with a success or failure return value. It would probably make the current code easier to read/follow. Only downside is that pqGetHomeDirectory would be called twice in some cases, but I really don't think that makes any noticeable performance difference. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера