diff options
author | Sindri P. Ingimundarson <sindripetur@gmail.com> | 2022-11-17 13:39:35 +0100 |
---|---|---|
committer | Sindri P. Ingimundarson <sindripetur@gmail.com> | 2022-11-17 13:42:53 +0100 |
commit | 75b704cfc0ef26d0d4d5af70847e38b3108907e2 (patch) | |
tree | e31dfc0ab01b1098313b6d9354c7c0146fc7ac7d /lib/ssl/src/ssl_cipher.hrl | |
parent | 73f6be02cab08454a915108e2d98df2fe7d529ab (diff) | |
download | erlang-75b704cfc0ef26d0d4d5af70847e38b3108907e2.tar.gz |
ssl: Store PeerCertificate for session resumption
Adds new options for session_tickets stateless_with_cert and
stateful_with_cert, this associates the client certificate with that
session. This makes it possible to call ssl:peercert/1 after a
pre-shared key session resumption.
Diffstat (limited to 'lib/ssl/src/ssl_cipher.hrl')
-rw-r--r-- | lib/ssl/src/ssl_cipher.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_cipher.hrl b/lib/ssl/src/ssl_cipher.hrl index 77305c1e77..cf5bd06a35 100644 --- a/lib/ssl/src/ssl_cipher.hrl +++ b/lib/ssl/src/ssl_cipher.hrl @@ -34,7 +34,8 @@ pre_shared_key, ticket_age_add, lifetime, - timestamp + timestamp, + certificate }). %%% SSL cipher protocol %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |