summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_locl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-26 15:27:24 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-26 15:27:24 +0000
commit25d4c9254c1ccb2f9974abd9a9fd64ddb14f7832 (patch)
tree39d33e3a3e916bed31008301e69a857a204d8df6 /ssl/ssl_locl.h
parent44adfeb6c0cc283e89b716d194ce557a592d2018 (diff)
Abort handshake if signature algorithm used not supported by peer.
(backport from HEAD)
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r--ssl/ssl_locl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index 2e02145082..e0f338dfec 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -1255,6 +1255,8 @@ int ssl_parse_clienthello_renegotiate_ext(SSL *s, unsigned char *d, int len,
long ssl_get_algorithm2(SSL *s);
int tls1_process_sigalgs(SSL *s, const unsigned char *data, int dsize);
size_t tls12_get_psigalgs(SSL *s, const unsigned char **psigs);
+int tls12_check_peer_sigalg(const EVP_MD **pmd, SSL *s,
+ const unsigned char *sig, EVP_PKEY *pkey);
void ssl_set_client_disabled(SSL *s);
int ssl_add_clienthello_use_srtp_ext(SSL *s, unsigned char *p, int *len, int maxlen);