Deleted Added
full compact
extensions_srvr.c (1.1.1.8) extensions_srvr.c (1.1.1.9)
1/*
1/*
2 * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
2 * Copyright 2016-2023 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <openssl/ocsp.h>

--- 867 unchanged lines hidden (view full) ---

878 if (!create_synthetic_message_hash(s, PACKET_data(&chhash),
879 PACKET_remaining(&chhash), hrr,
880 hrrlen)) {
881 /* SSLfatal() already called */
882 return 0;
883 }
884
885 /* Act as if this ClientHello came after a HelloRetryRequest */
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <openssl/ocsp.h>

--- 867 unchanged lines hidden (view full) ---

878 if (!create_synthetic_message_hash(s, PACKET_data(&chhash),
879 PACKET_remaining(&chhash), hrr,
880 hrrlen)) {
881 /* SSLfatal() already called */
882 return 0;
883 }
884
885 /* Act as if this ClientHello came after a HelloRetryRequest */
886 s->hello_retry_request = 1;
886 s->hello_retry_request = SSL_HRR_PENDING;
887
888 s->ext.cookieok = 1;
889#endif
890
891 return 1;
892}
893
894int tls_parse_ctos_supported_groups(SSL *s, PACKET *pkt, unsigned int context,

--- 1022 unchanged lines hidden ---
887
888 s->ext.cookieok = 1;
889#endif
890
891 return 1;
892}
893
894int tls_parse_ctos_supported_groups(SSL *s, PACKET *pkt, unsigned int context,

--- 1022 unchanged lines hidden ---