summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_sigalgs.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2018-11-09 05:02:54 +0000
committerBob Beck <beck@cvs.openbsd.org>2018-11-09 05:02:54 +0000
commitbb25c015d6711bf2853d4d3d404124bfdbf76bef (patch)
tree088527ca6a0a4c3776bacb089ecb8e342ea6a253 /lib/libssl/ssl_sigalgs.h
parent987669c65c804692791519c69e5010268667af5f (diff)
Add the ability to have a separate priority list for sigalgs.
Add a priority list for tls 1.2 ok jsing@
Diffstat (limited to 'lib/libssl/ssl_sigalgs.h')
-rw-r--r--lib/libssl/ssl_sigalgs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libssl/ssl_sigalgs.h b/lib/libssl/ssl_sigalgs.h
index a73c398e582..629213e7614 100644
--- a/lib/libssl/ssl_sigalgs.h
+++ b/lib/libssl/ssl_sigalgs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_sigalgs.h,v 1.2 2018/11/09 03:17:04 jsing Exp $ */
+/* $OpenBSD: ssl_sigalgs.h,v 1.3 2018/11/09 05:02:53 beck Exp $ */
/*
* Copyright (c) 2018, Bob Beck <beck@openbsd.org>
*
@@ -66,10 +66,13 @@ struct ssl_sigalg{
int flags;
};
+extern uint16_t tls12_sigalgs[];
+extern size_t tls12_sigalgs_len;
+
const struct ssl_sigalg *ssl_sigalg_lookup(uint16_t sigalg);
const EVP_MD * ssl_sigalg_md(uint16_t sigalg);
uint16_t ssl_sigalg_value(const EVP_PKEY *pk, const EVP_MD *md);
-int ssl_sigalgs_build(CBB *cbb);
+int ssl_sigalgs_build(CBB *cbb, uint16_t *values, size_t len);
int ssl_sigalg_pkey_check(uint16_t sigalg, EVP_PKEY *pk);
__END_HIDDEN_DECLS