Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1750831790, "reponame":"openssl", "desc":"OpenSSL", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl", "f":3, "items": [ {"schema":"libjg2-1", "cid":"2b1069a85723248fe1c6cb5caa76c7aa", "commit": {"type":"commit", "time": 1484089370, "time_ofs": 0, "oid_tree": { "oid": "378ed553a6276a9de459af45880c42270c608990", "alias": []}, "oid":{ "oid": "4954fd13b3c71f0f74677b78533f1176e13de032", "alias": []}, "msg": "Temporarily ignore NewSessionTickets for TLS1.3", "sig_commit": { "git_time": { "time": 1484089370, "offset": 0 }, "name": "Matt Caswell", "email": "matt@openssl.org", "md5": "10f7b441a32d5790efad9fc68cae4af2" }, "sig_author": { "git_time": { "time": 1483024127, "offset": 0 }, "name": "Matt Caswell", "email": "matt@openssl.org", "md5": "10f7b441a32d5790efad9fc68cae4af2" }}, "body": "Temporarily ignore NewSessionTickets for TLS1.3\n\nWe can't handle these messages yet, so ignore them for now.\n\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\n(Merged from https://github.com/openssl/openssl/pull/2157)" , "diff": "diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c\nindex 486da64..3ffe29a 100644\n--- a/ssl/record/rec_layer_s3.c\n+++ b/ssl/record/rec_layer_s3.c\n@@ -1374,6 +1374,16 @@ int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,\n }\n }\n \n+ /*\n+ * TODO(TLS1.3): Temporarily we will just ignore NewSessionTicket messages.\n+ * Later we will want to process them.\n+ */\n+ if (!s-\u003eserver \u0026\u0026 SSL_IS_TLS13(s) \u0026\u0026 s-\u003erlayer.handshake_fragment_len \u003e\u003d 4\n+ \u0026\u0026 s-\u003erlayer.handshake_fragment[0] \u003d\u003d SSL3_MT_NEWSESSION_TICKET) {\n+ SSL3_RECORD_set_read(rr);\n+ goto start;\n+ }\n+\n /*-\n * s-\u003erlayer.handshake_fragment_len \u003d\u003d 4 iff rr-\u003etype \u003d\u003d SSL3_RT_HANDSHAKE;\n * s-\u003erlayer.alert_fragment_len \u003d\u003d 2 iff rr-\u003etype \u003d\u003d SSL3_RT_ALERT.\n","s":{"c":1750707176,"u": 25207}} ],"g": 361,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}