diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2019-05-28 20:08:17 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2019-05-28 20:08:17 +0000 | 
| commit | 375b8e6770f750fb915859470f6f1fe43f35cc48 (patch) | |
| tree | 5db6744924edfc112439ad2366f52f246baa21d1 /ssl/ssl_locl.h | |
| parent | 851f7386fd78b9787f4f6669ad271886a2a003f1 (diff) | |
Diffstat (limited to 'ssl/ssl_locl.h')
| -rw-r--r-- | ssl/ssl_locl.h | 13 | 
1 files changed, 8 insertions, 5 deletions
| diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index f326399e03a0..0cf3893e0648 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -574,7 +574,6 @@ struct ssl_session_st {          /* Session lifetime hint in seconds */          unsigned long tick_lifetime_hint;          uint32_t tick_age_add; -        int tick_identity;          /* Max number of bytes that can be sent as early data */          uint32_t max_early_data;          /* The ALPN protocol selected for this session */ @@ -1356,6 +1355,13 @@ struct ssl_st {           * as this extension is optional on server side.           */          uint8_t max_fragment_len_mode; + +        /* +         * On the client side the number of ticket identities we sent in the +         * ClientHello. On the server side the identity of the ticket we +         * selected. +         */ +        int tick_identity;      } ext;      /* @@ -1509,7 +1515,7 @@ typedef struct cert_pkey_st CERT_PKEY;   * CERT_PKEY entries   */  typedef struct { -    int nid; /* NID of pubic key algorithm */ +    int nid; /* NID of public key algorithm */      uint32_t amask; /* authmask corresponding to key type */  } SSL_CERT_LOOKUP; @@ -2052,9 +2058,6 @@ typedef enum downgrade_en {  #define TLSEXT_KEX_MODE_FLAG_KE                                 1  #define TLSEXT_KEX_MODE_FLAG_KE_DHE                             2 -/* An invalid index into the TLSv1.3 PSK identities */ -#define TLSEXT_PSK_BAD_IDENTITY                                 -1 -  #define SSL_USE_PSS(s) (s->s3->tmp.peer_sigalg != NULL && \                          s->s3->tmp.peer_sigalg->sig == EVP_PKEY_RSA_PSS) | 
