[openssl/openssl] e42447: SSL_dup() should copy additional members

"'Sashan' via openssl-commits" <[email protected]>
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-3.5/[email protected]>
  Branch: refs/heads/openssl-3.5
  Home:   https://github.com/openssl/openssl
  Commit: e424472cd4372adbd9125c6f39456a186dfd73dd
      https://github.com/openssl/openssl/commit/e424472cd4372adbd9125c6f39456a186dfd73dd
  Author: Alexandr Nedvedicky <[email protected]>
  Date:   2026-08-19 (Wed, 19 Aug 2026)

  Changed paths:
    M doc/man3/SSL_new.pod
    M ssl/ssl_lib.c
    M test/sslapitest.c

  Log Message:
  -----------
  SSL_dup() should copy additional members

currently those members are missing to be copied in SSL_dup(3ossl)
   - server_cert_type
   - client_cert_type
   - ct_validation_callback
   - retsc->ext.status_type (typically needed for OCSP)

All those missing members are usually set before handshake starts,
so SSL_dup() needs to copy them so behavior of duplicated SSL
object is consistent with its original.

Reviewed-by: Neil Horman <[email protected]>
Reviewed-by: Andrew Dinh <[email protected]>
Merge-date: Wed Aug 19 14:26:25 2026
Merged-from: https://github.com/openssl/openssl/pull/32122
(cherry picked from commit 52ee7fdf278c2316f1ddd94526f8730e014dd58f)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/openssl-3.5/9b53f8-e42447%40github.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.