model-writtenrun 6249 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Itamar Gafni reported that missing socket BIO type flags caused an OpenSSL file-descriptor lookup to fail in his auditing code, and supplied a backend and libpq patch that he had compiled and tested with encrypted queries #1.
- Daniel Gustafsson agreed that the documentation supported adding the flags and asked whether OpenSSL 1.0.1 and 1.0.2 also needed an explicitly assigned type #2.
- Itamar explained that older OpenSSL versions copied the existing socket BIO methods, leaving uncertainty about whether sharing the original type was a problem #3.
- Daniel decided to leave the older OpenSSL implementation unchanged because existing practices varied, no complaints had surfaced, and those versions were end-of-life; he planned to apply the proposed patch after further testing #4.
- Daniel committed the original patch unchanged as 31f860a52b and reported successful testing with old and new OpenSSL versions and backpatching through PostgreSQL 9.6, completing the proposed fix #5.