diff options
author | 2021-01-11 18:26:25 +0000 | |
---|---|---|
committer | 2021-01-11 18:26:25 +0000 | |
commit | d3f600555325bb02f02af3bd21b8198db4e74305 (patch) | |
tree | b857c10662e68075765850e2dceb815737912597 /regress/lib/libssl/unit/ssl_get_shared_ciphers.c | |
parent | Clear CR 26 before returning to userland to avoid potentioal info leak. (diff) | |
download | wireguard-openbsd-d3f600555325bb02f02af3bd21b8198db4e74305.tar.xz wireguard-openbsd-d3f600555325bb02f02af3bd21b8198db4e74305.zip |
Include headers used instead of relying on ssl.h pulling in the world.
Diffstat (limited to 'regress/lib/libssl/unit/ssl_get_shared_ciphers.c')
-rw-r--r-- | regress/lib/libssl/unit/ssl_get_shared_ciphers.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/lib/libssl/unit/ssl_get_shared_ciphers.c b/regress/lib/libssl/unit/ssl_get_shared_ciphers.c index ad46e210e29..306cc6ac230 100644 --- a/regress/lib/libssl/unit/ssl_get_shared_ciphers.c +++ b/regress/lib/libssl/unit/ssl_get_shared_ciphers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_get_shared_ciphers.c,v 1.3 2021/01/10 23:59:32 tb Exp $ */ +/* $OpenBSD: ssl_get_shared_ciphers.c,v 1.4 2021/01/11 18:26:25 tb Exp $ */ /* * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> * @@ -16,7 +16,13 @@ */ #include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +#include <openssl/bio.h> #include <openssl/err.h> +#include <openssl/crypto.h> #include <openssl/ssl.h> struct peer_config { |