diff options
author | tb <> | 2022-06-30 16:05:07 +0000 |
---|---|---|
committer | tb <> | 2022-06-30 16:05:07 +0000 |
commit | ff55ae35ce91503ea79ecd5ec86595c03b2d138f (patch) | |
tree | 5e132e3e23ccde65b520524d5b4a0c1eda124d9c /src/lib/libssl/ssl_locl.h | |
parent | 0ab0519d6cd5ac501518b8dcc6735cf61481f520 (diff) | |
download | openbsd-ff55ae35ce91503ea79ecd5ec86595c03b2d138f.tar.gz openbsd-ff55ae35ce91503ea79ecd5ec86595c03b2d138f.tar.bz2 openbsd-ff55ae35ce91503ea79ecd5ec86595c03b2d138f.zip |
Check security level for supported groups.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index d466b59642..d3e600b6b7 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.408 2022/06/30 11:17:49 tb Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.409 2022/06/30 16:05:07 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1306,6 +1306,7 @@ int ssl_security_cert(const SSL_CTX *ctx, const SSL *ssl, X509 *x509, | |||
1306 | int is_peer, int *out_error); | 1306 | int is_peer, int *out_error); |
1307 | int ssl_security_cert_chain(const SSL *ssl, STACK_OF(X509) *sk, | 1307 | int ssl_security_cert_chain(const SSL *ssl, STACK_OF(X509) *sk, |
1308 | X509 *x509, int *out_error); | 1308 | X509 *x509, int *out_error); |
1309 | int ssl_security_supported_group(const SSL *ssl, uint16_t curve_id); | ||
1309 | 1310 | ||
1310 | int ssl_get_new_session(SSL *s, int session); | 1311 | int ssl_get_new_session(SSL *s, int session); |
1311 | int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, | 1312 | int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, |
@@ -1515,6 +1516,7 @@ int tls1_set_group_list(uint16_t **out_group_ids, size_t *out_group_ids_len, | |||
1515 | const char *groups); | 1516 | const char *groups); |
1516 | 1517 | ||
1517 | int tls1_ec_curve_id2nid(const uint16_t curve_id); | 1518 | int tls1_ec_curve_id2nid(const uint16_t curve_id); |
1519 | int tls1_ec_curve_id2bits(const uint16_t curve_id); | ||
1518 | uint16_t tls1_ec_nid2curve_id(const int nid); | 1520 | uint16_t tls1_ec_nid2curve_id(const int nid); |
1519 | int tls1_check_curve(SSL *s, const uint16_t group_id); | 1521 | int tls1_check_curve(SSL *s, const uint16_t group_id); |
1520 | int tls1_get_shared_curve(SSL *s); | 1522 | int tls1_get_shared_curve(SSL *s); |