diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2017-08-12 21:48:00 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2017-08-12 21:48:00 +0000 |
commit | 33626c3f8c802812fb1b55faa5725d61d6320c20 (patch) | |
tree | d88e4ddade04e6d54dd26071c9c0549f8320b418 /lib/libssl/ssl_locl.h | |
parent | f973e7a60c9f2cc8730e3e6366a134e5eac640a7 (diff) |
Convert TLS signature algorithms extension handling to the new framework.
ok beck@ doug@
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r-- | lib/libssl/ssl_locl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index 914501213cc..ddb3b30327c 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.189 2017/08/12 21:03:08 jsing Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.190 2017/08/12 21:47:59 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1310,8 +1310,9 @@ const EVP_MD *tls12_get_hash(unsigned char hash_alg); void ssl_clear_hash_ctx(EVP_MD_CTX **hash); long ssl_get_algorithm2(SSL *s); -int tls1_process_sigalgs(SSL *s, const unsigned char *data, int dsize); -int tls12_get_req_sig_algs(SSL *s, unsigned char *p); +int tls1_process_sigalgs(SSL *s, CBS *cbs); +void tls12_get_req_sig_algs(SSL *s, unsigned char **sigalgs, + size_t *sigalgs_len); int tls1_check_ec_server_key(SSL *s); int tls1_check_ec_tmp_key(SSL *s); |