diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2018-11-10 01:53:56 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2018-11-12 16:53:32 -0500 |
commit | 45f247258a87b73e76f95631e0f4aa22298fd19c (patch) | |
tree | d041844eb6eb0047c6c37b4cdf3c1f08b6e7f245 /test/handshake_helper.c | |
parent | 44197e961a66b8a2eda2a66857c8aa0c5059459c (diff) |
Added missing signature algorithm reflection functions
SSL_get_signature_nid() -- local signature algorithm
SSL_get_signature_type_nid() -- local signature algorithm key type
SSL_get_peer_tmp_key() -- Peer key-exchange public key
SSL_get_tmp_key -- local key exchange public key
Aliased pre-existing SSL_get_server_tmp_key(), which was formerly
just for clients, to SSL_get_peer_tmp_key(). Changed internal
calls to use the new name.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'test/handshake_helper.c')
-rw-r--r-- | test/handshake_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handshake_helper.c b/test/handshake_helper.c index a5b8d8007a..40bfd3ec26 100644 --- a/test/handshake_helper.c +++ b/test/handshake_helper.c @@ -1673,7 +1673,7 @@ static HANDSHAKE_RESULT *do_handshake_internal( *serv_sess_out = SSL_SESSION_dup(tmp); } - if (SSL_get_server_tmp_key(client.ssl, &tmp_key)) { + if (SSL_get_peer_tmp_key(client.ssl, &tmp_key)) { ret->tmp_key_type = pkey_type(tmp_key); EVP_PKEY_free(tmp_key); } |