diff options
Diffstat (limited to 'src/lib/libssl/ssl.h')
| -rw-r--r-- | src/lib/libssl/ssl.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index b01c426c9c..093c4bde2d 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl.h,v 1.175 2020/09/19 10:05:00 tb Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.176 2020/09/19 10:12:06 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -1465,6 +1465,17 @@ int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data); | |||
| 1465 | 1465 | ||
| 1466 | uint32_t SSL_get_max_early_data(const SSL *s); | 1466 | uint32_t SSL_get_max_early_data(const SSL *s); |
| 1467 | int SSL_set_max_early_data(SSL *s, uint32_t max_early_data); | 1467 | int SSL_set_max_early_data(SSL *s, uint32_t max_early_data); |
| 1468 | |||
| 1469 | #define SSL_EARLY_DATA_NOT_SENT 0 | ||
| 1470 | #define SSL_EARLY_DATA_REJECTED 1 | ||
| 1471 | #define SSL_EARLY_DATA_ACCEPTED 2 | ||
| 1472 | int SSL_get_early_data_status(const SSL *s); | ||
| 1473 | |||
| 1474 | #define SSL_READ_EARLY_DATA_ERROR 0 | ||
| 1475 | #define SSL_READ_EARLY_DATA_SUCCESS 1 | ||
| 1476 | #define SSL_READ_EARLY_DATA_FINISH 2 | ||
| 1477 | int SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes); | ||
| 1478 | int SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written); | ||
| 1468 | #endif | 1479 | #endif |
| 1469 | 1480 | ||
| 1470 | long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg); | 1481 | long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg); |
