Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

be-secure-openssl.c

  • Heikki Linnakangas's avatar
    272923a0
    Simplify the way OpenSSL renegotiation is initiated in server. · 272923a0
    Heikki Linnakangas authored
    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.
    272923a0
    History
    Simplify the way OpenSSL renegotiation is initiated in server.
    Heikki Linnakangas authored
    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.