Mercurial > hg > nginx
comparison src/event/ngx_event_quic_protection.c @ 8303:2ac03e80d013 quic
TLS Early Data key derivation support.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 01 Apr 2020 13:27:42 +0300 |
parents | 4ad7d4272cd5 |
children | 058a5af7ddfc |
comparison
equal
deleted
inserted
replaced
8302:76818c9cdd6f | 8303:2ac03e80d013 |
---|---|
618 return 0; | 618 return 0; |
619 } | 619 } |
620 | 620 |
621 switch (level) { | 621 switch (level) { |
622 | 622 |
623 case ssl_encryption_early_data: | |
624 peer_secret = &qsec->ed; | |
625 break; | |
626 | |
623 case ssl_encryption_handshake: | 627 case ssl_encryption_handshake: |
624 peer_secret = &qsec->hs; | 628 peer_secret = &qsec->hs; |
625 break; | 629 break; |
626 | 630 |
627 case ssl_encryption_application: | 631 case ssl_encryption_application: |