diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2021-06-27 18:09:08 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2021-06-27 18:09:08 +0000 |
commit | 3b2183cf554fb7e7387b92e40cac22c06b7fc371 (patch) | |
tree | 14b9492e76a0e0424c337931b5fbef446c10b4fe /lib/libssl/ssl_sigalgs.h | |
parent | b2ac7d0b3b09b68b4f78834d756f666f1094d9e9 (diff) |
Rename ssl_sigalg() to ssl_sigalg_from_value().
This makes the code more self-documenting and avoids the ambiguity between
ssl_sigalg the struct and ssl_sigalg the function.
ok tb@
Diffstat (limited to 'lib/libssl/ssl_sigalgs.h')
-rw-r--r-- | lib/libssl/ssl_sigalgs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libssl/ssl_sigalgs.h b/lib/libssl/ssl_sigalgs.h index 64a2bd435c6..64cf0bb73b2 100644 --- a/lib/libssl/ssl_sigalgs.h +++ b/lib/libssl/ssl_sigalgs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_sigalgs.h,v 1.18 2021/06/27 17:59:17 jsing Exp $ */ +/* $OpenBSD: ssl_sigalgs.h,v 1.19 2021/06/27 18:09:07 jsing Exp $ */ /* * Copyright (c) 2018-2019 Bob Beck <beck@openbsd.org> * @@ -74,7 +74,8 @@ extern const uint16_t tls13_sigalgs[]; extern const size_t tls13_sigalgs_len; const struct ssl_sigalg *ssl_sigalg_lookup(uint16_t sigalg); -const struct ssl_sigalg *ssl_sigalg(uint16_t sigalg, const uint16_t *values, size_t len); +const struct ssl_sigalg *ssl_sigalg_from_value(uint16_t sigalg, + const uint16_t *values, size_t len); int ssl_sigalgs_build(uint16_t tls_version, CBB *cbb); int ssl_sigalg_pkey_check(uint16_t sigalg, EVP_PKEY *pk); int ssl_sigalg_pkey_ok(const struct ssl_sigalg *sigalg, EVP_PKEY *pkey, |