diff options
author | Omar Polo <op@cvs.openbsd.org> | 2023-05-14 07:26:26 +0000 |
---|---|---|
committer | Omar Polo <op@cvs.openbsd.org> | 2023-05-14 07:26:26 +0000 |
commit | 813a656438be2654adb1d93e7aaa16acb1d6265b (patch) | |
tree | b28d8f0a4010573816f863c2e9b0ab52d51f1727 /lib/libtls | |
parent | fb67dac3b5d6bca52d68388b06c0a9c03f6bb4d4 (diff) |
add missing #include <string.h>; ok tb@
Diffstat (limited to 'lib/libtls')
-rw-r--r-- | lib/libtls/tls.c | 3 | ||||
-rw-r--r-- | lib/libtls/tls_bio_cb.c | 3 | ||||
-rw-r--r-- | lib/libtls/tls_client.c | 3 | ||||
-rw-r--r-- | lib/libtls/tls_config.c | 3 | ||||
-rw-r--r-- | lib/libtls/tls_conninfo.c | 3 | ||||
-rw-r--r-- | lib/libtls/tls_ocsp.c | 4 | ||||
-rw-r--r-- | lib/libtls/tls_server.c | 4 | ||||
-rw-r--r-- | lib/libtls/tls_util.c | 3 |
8 files changed, 18 insertions, 8 deletions
diff --git a/lib/libtls/tls.c b/lib/libtls/tls.c index ff33ebe53e1..f3e7148f0d1 100644 --- a/lib/libtls/tls.c +++ b/lib/libtls/tls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls.c,v 1.94 2022/02/08 19:13:50 tb Exp $ */ +/* $OpenBSD: tls.c,v 1.95 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -21,6 +21,7 @@ #include <limits.h> #include <pthread.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <openssl/bio.h> diff --git a/lib/libtls/tls_bio_cb.c b/lib/libtls/tls_bio_cb.c index dad9d23efbb..8a1edfd5e4c 100644 --- a/lib/libtls/tls_bio_cb.c +++ b/lib/libtls/tls_bio_cb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_bio_cb.c,v 1.20 2022/01/10 23:39:48 tb Exp $ */ +/* $OpenBSD: tls_bio_cb.c,v 1.21 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2016 Tobias Pape <tobias@netshed.de> * @@ -17,6 +17,7 @@ #include <fcntl.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <openssl/bio.h> diff --git a/lib/libtls/tls_client.c b/lib/libtls/tls_client.c index 1629697f8ac..deb24ebc23e 100644 --- a/lib/libtls/tls_client.c +++ b/lib/libtls/tls_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_client.c,v 1.48 2021/10/21 08:38:11 tb Exp $ */ +/* $OpenBSD: tls_client.c,v 1.49 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -25,6 +25,7 @@ #include <limits.h> #include <netdb.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <openssl/err.h> diff --git a/lib/libtls/tls_config.c b/lib/libtls/tls_config.c index 15e218b4e03..3efd0ddd57d 100644 --- a/lib/libtls/tls_config.c +++ b/lib/libtls/tls_config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_config.c,v 1.65 2022/01/25 21:51:24 eric Exp $ */ +/* $OpenBSD: tls_config.c,v 1.66 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -22,6 +22,7 @@ #include <fcntl.h> #include <pthread.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <tls.h> diff --git a/lib/libtls/tls_conninfo.c b/lib/libtls/tls_conninfo.c index 4d9ae29e09c..b2aadab083d 100644 --- a/lib/libtls/tls_conninfo.c +++ b/lib/libtls/tls_conninfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_conninfo.c,v 1.22 2021/01/05 15:57:38 tb Exp $ */ +/* $OpenBSD: tls_conninfo.c,v 1.23 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> * Copyright (c) 2015 Bob Beck <beck@openbsd.org> @@ -17,6 +17,7 @@ */ #include <stdio.h> +#include <string.h> #include <openssl/x509.h> diff --git a/lib/libtls/tls_ocsp.c b/lib/libtls/tls_ocsp.c index 83585fac053..acf6935a520 100644 --- a/lib/libtls/tls_ocsp.c +++ b/lib/libtls/tls_ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_ocsp.c,v 1.22 2021/10/31 16:39:32 tb Exp $ */ +/* $OpenBSD: tls_ocsp.c,v 1.23 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2015 Marko Kreen <markokr@gmail.com> * Copyright (c) 2016 Bob Beck <beck@openbsd.org> @@ -21,6 +21,8 @@ #include <arpa/inet.h> #include <netinet/in.h> +#include <string.h> + #include <openssl/err.h> #include <openssl/ocsp.h> #include <openssl/x509.h> diff --git a/lib/libtls/tls_server.c b/lib/libtls/tls_server.c index 72f797b860b..5f93c7a0356 100644 --- a/lib/libtls/tls_server.c +++ b/lib/libtls/tls_server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_server.c,v 1.48 2022/01/19 11:10:55 inoguchi Exp $ */ +/* $OpenBSD: tls_server.c,v 1.49 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -19,6 +19,8 @@ #include <arpa/inet.h> +#include <string.h> + #include <openssl/ec.h> #include <openssl/err.h> #include <openssl/ssl.h> diff --git a/lib/libtls/tls_util.c b/lib/libtls/tls_util.c index d8103a506cc..b276d2cfa78 100644 --- a/lib/libtls/tls_util.c +++ b/lib/libtls/tls_util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_util.c,v 1.15 2021/08/16 13:54:38 tb Exp $ */ +/* $OpenBSD: tls_util.c,v 1.16 2023/05/14 07:26:25 op Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> @@ -20,6 +20,7 @@ #include <sys/stat.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <fcntl.h> |