diff options
author | tb <> | 2024-03-02 11:44:47 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 11:44:47 +0000 |
commit | 253b63fb51401d34d0ccce903a2a1c39698e8461 (patch) | |
tree | 964b668f0a28eb29ba5e6275bfae2cc13ee03003 /src/lib/libssl/ssl.h | |
parent | cf220f1f94cc80fb953d9dd88c042558052815b7 (diff) | |
download | openbsd-253b63fb51401d34d0ccce903a2a1c39698e8461.tar.gz openbsd-253b63fb51401d34d0ccce903a2a1c39698e8461.tar.bz2 openbsd-253b63fb51401d34d0ccce903a2a1c39698e8461.zip |
Export SSL_get_{peer_,}signature_type_nid()
Also move the prototypes to the correct header.
Oversight reported by Frank Lichtenheld, thanks!
Fixes https://github.com/libressl/openbsd/issues/147
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 03a5a80d0a..e69979cbf6 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.233 2024/02/03 15:58:33 beck Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.234 2024/03/02 11:44:47 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 | * |
@@ -1058,10 +1058,6 @@ const SSL_METHOD *SSL_CTX_get_ssl_method(const SSL_CTX *ctx); | |||
1058 | SSL_ctrl(s, SSL_CTRL_GET_PEER_SIGNATURE_NID, 0, pn) | 1058 | SSL_ctrl(s, SSL_CTRL_GET_PEER_SIGNATURE_NID, 0, pn) |
1059 | #define SSL_get_peer_tmp_key(s, pk) \ | 1059 | #define SSL_get_peer_tmp_key(s, pk) \ |
1060 | SSL_ctrl(s, SSL_CTRL_GET_PEER_TMP_KEY, 0, pk) | 1060 | SSL_ctrl(s, SSL_CTRL_GET_PEER_TMP_KEY, 0, pk) |
1061 | |||
1062 | int SSL_get_signature_type_nid(const SSL *ssl, int *nid); | ||
1063 | int SSL_get_peer_signature_type_nid(const SSL *ssl, int *nid); | ||
1064 | |||
1065 | #endif /* LIBRESSL_HAS_TLS1_3 || LIBRESSL_INTERNAL */ | 1061 | #endif /* LIBRESSL_HAS_TLS1_3 || LIBRESSL_INTERNAL */ |
1066 | 1062 | ||
1067 | #ifndef LIBRESSL_INTERNAL | 1063 | #ifndef LIBRESSL_INTERNAL |