• D
    Tidy up ssl3_digest_cached_records logic. · 124037fd
    Dr. Stephen Henson 提交于
    Rewrite ssl3_digest_cached_records handling. Only digest cached records
    if digest array is NULL: this means it is safe to call
    ssl3_digest_cached_records multiple times (subsequent calls are no op).
    
    Remove flag TLS1_FLAGS_KEEP_HANDSHAKE instead only update handshake buffer
    if digest array is NULL.
    
    Add additional "keep" parameter to ssl3_digest_cached_records to indicate
    if the handshake buffer should be retained after digesting cached records
    (needed for TLS 1.2 client authentication).
    Reviewed-by: NMatt Caswell <matt@openssl.org>
    124037fd
d1_srvr.c 31.8 KB