pgsql: Simplify the way OpenSSL renegotiation is initiated in server.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Simplify the way OpenSSL renegotiation is initiated in server.
Дата
Msg-id E1YMMHM-0004JQ-2h@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Simplify the way OpenSSL renegotiation is initiated in server.

At least in all modern versions of OpenSSL, it is enough to call
SSL_renegotiate() once, and then forget about it. Subsequent SSL_write()
and SSL_read() calls will finish the handshake.

The SSL_set_session_id_context() call is unnecessary too. We only have
one SSL context, and the SSL session was created with that to begin with.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/272923a0a6956187471df4f032eee06559520390

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c |   23 -----------------------
1 file changed, 23 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Simplify waiting logic in reading from / writing to client.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix broken #ifdef for __sparcv8