Skip to content

Commit

Permalink
Release 2.4.10: fix regression in 2.4.9, use ls-qpack 0.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Tikhonov committed Oct 24, 2019
1 parent df992bc commit 34e9ac5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
2019-10-24
- 2.4.9
- 2.4.10
- [BUGFIX] IETF QUIC server: fix uninitialized variable use.
- [BUGFIX] make sure TLSv1.3 is not disabled in SSL object.
- [BUGFIX] Use issuer name and serial number to cache certs (SKID
values are not unique).
- [BUGFIX] Always set the idle alarm in IETF connection so that it
can time out.
- Use ls-qpack v0.10.6, as it silences some warnings.

2019-10-21
- 2.4.8
Expand Down
2 changes: 1 addition & 1 deletion include/lsquic.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" {

#define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 4
#define LSQUIC_PATCH_VERSION 9
#define LSQUIC_PATCH_VERSION 10

/**
* Engine flags:
Expand Down
2 changes: 1 addition & 1 deletion src/liblsquic/ls-qpack
Submodule ls-qpack updated 3 files
+24 −0 lsqpack.c
+1 −1 lsqpack.h
+2 −2 test/test_qpack.c
6 changes: 5 additions & 1 deletion src/liblsquic/lsquic_handshake.c
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@ get_sni_SSL_CTX(struct lsquic_enc_session *enc_session, lsquic_lookup_cert_f cb,
cert_item_t *item;
struct ssl_ctx_st *ssl_ctx;
size_t key_sz;
unsigned char key[0x200];
unsigned char key[0x400];

if (!enc_session->ssl_ctx)
{
Expand Down Expand Up @@ -2086,6 +2086,10 @@ get_sni_SSL_CTX(struct lsquic_enc_session *enc_session, lsquic_lookup_cert_f cb,
else
{
LSQ_INFO("cannot generate cert cache key, make copy");
out = NULL;
len = i2d_X509(crt, &out);
if (len < 0)
return GET_SNI_ERR;
copy: enc_session->cert_ptr = lsquic_str_new((char *) out, len);
OPENSSL_free(out);
if (!enc_session->cert_ptr)
Expand Down

0 comments on commit 34e9ac5

Please sign in to comment.