Added missing signature algorithm reflection functions
authorViktor Dukhovni <openssl-users@dukhovni.org>
Sat, 10 Nov 2018 06:53:56 +0000 (01:53 -0500)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Mon, 12 Nov 2018 21:55:38 +0000 (16:55 -0500)
commita51c9f637cdef7926d8a8991365e4b58975346db
tree12af19e095f480092b42d3884a6c07e8ba79f985
parent6e68dae85a8f91944370125561c7ec0d5da46c20
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>
12 files changed:
apps/s_cb.c
doc/man3/SSL_get_peer_signature_nid.pod
doc/man3/SSL_get_peer_tmp_key.pod [new file with mode: 0644]
doc/man3/SSL_get_server_tmp_key.pod [deleted file]
include/openssl/ssl.h
include/openssl/tls1.h
ssl/s3_lib.c
ssl/t1_lib.c
test/handshake_helper.c
test/ssltest_old.c
util/libssl.num
util/private.num