]> granicus.if.org Git - openssl/commit
Add new functions to extract {client,server}_random, master_key
authorNick Mathewson <nickm@torproject.org>
Mon, 25 May 2015 21:12:49 +0000 (17:12 -0400)
committerMatt Caswell <matt@openssl.org>
Thu, 28 May 2015 15:05:01 +0000 (16:05 +0100)
commit858618e7e037559b75b0bfca4d30440f9515b888
tree88e7816fd7353b59238fdf1c52ae37c6a352b7f1
parent9ef175148b7da12cb09f5e78f32bc6ab58d78b83
Add new functions to extract {client,server}_random, master_key

Tor uses these values to implement a low-rent clone of RFC 5705 (which,
in our defense, we came up with before RFC 5705 existed).  But now that
ssl_st is opaque, we need another way to get at them.

Includes documentation, with suitable warnings about not actually
using these functions.

Signed-off-by: Nick Mathewson <nickm@torproject.org>
Signed-off-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
doc/ssl/SSL_get_client_random.pod [new file with mode: 0644]
include/openssl/ssl.h
ssl/ssl_lib.c