summaryrefslogtreecommitdiff
path: root/src/lib/libssl
diff options
context:
space:
mode:
authortb <>2026-05-09 11:29:51 +0000
committertb <>2026-05-09 11:29:51 +0000
commit8ea86b6171685902bc68700cb1dbf84a0b3006cb (patch)
tree3c80af046cba96dfac24d13e11a670d624e86267 /src/lib/libssl
parent64830621cb56680678319f406415b5b6ffe3b744 (diff)
downloadopenbsd-8ea86b6171685902bc68700cb1dbf84a0b3006cb.tar.gz
openbsd-8ea86b6171685902bc68700cb1dbf84a0b3006cb.tar.bz2
openbsd-8ea86b6171685902bc68700cb1dbf84a0b3006cb.zip
ssl_lib: trade two extra empty lines for a missing one
Diffstat (limited to 'src/lib/libssl')
-rw-r--r--src/lib/libssl/ssl_lib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index 630724e670..8cce446036 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.333 2025/06/09 10:14:38 tb Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.334 2026/05/09 11:29:51 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 *
@@ -752,7 +752,6 @@ SSL_set_rfd(SSL *s, int fd)
752} 752}
753LSSL_ALIAS(SSL_set_rfd); 753LSSL_ALIAS(SSL_set_rfd);
754 754
755
756/* return length of latest Finished message we sent, copy to 'buf' */ 755/* return length of latest Finished message we sent, copy to 'buf' */
757size_t 756size_t
758SSL_get_finished(const SSL *s, void *buf, size_t count) 757SSL_get_finished(const SSL *s, void *buf, size_t count)
@@ -781,7 +780,6 @@ SSL_get_peer_finished(const SSL *s, void *buf, size_t count)
781} 780}
782LSSL_ALIAS(SSL_get_peer_finished); 781LSSL_ALIAS(SSL_get_peer_finished);
783 782
784
785int 783int
786SSL_get_verify_mode(const SSL *s) 784SSL_get_verify_mode(const SSL *s)
787{ 785{
@@ -3498,7 +3496,6 @@ SSL_set_tmp_ecdh_callback(SSL *ssl, EC_KEY *(*ecdh)(SSL *ssl, int is_export,
3498} 3496}
3499LSSL_ALIAS(SSL_set_tmp_ecdh_callback); 3497LSSL_ALIAS(SSL_set_tmp_ecdh_callback);
3500 3498
3501
3502void 3499void
3503SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, 3500SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version,
3504 int content_type, const void *buf, size_t len, SSL *ssl, void *arg)) 3501 int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
@@ -3570,6 +3567,7 @@ SSL_set_min_proto_version(SSL *ssl, uint16_t version)
3570 &ssl->min_proto_version); 3567 &ssl->min_proto_version);
3571} 3568}
3572LSSL_ALIAS(SSL_set_min_proto_version); 3569LSSL_ALIAS(SSL_set_min_proto_version);
3570
3573int 3571int
3574SSL_get_max_proto_version(SSL *ssl) 3572SSL_get_max_proto_version(SSL *ssl)
3575{ 3573{