diff options
author | tb <> | 2021-05-04 18:20:05 +0000 |
---|---|---|
committer | tb <> | 2021-05-04 18:20:05 +0000 |
commit | c157b585ad23f1585c90daafcbac523ea9685e35 (patch) | |
tree | 5ea3f494d9714289b4e2f1668aa4957b9f9f54c5 | |
parent | 76ac52a89efdc9edb22566dc5518cb173d98f33f (diff) | |
download | openbsd-c157b585ad23f1585c90daafcbac523ea9685e35.tar.gz openbsd-c157b585ad23f1585c90daafcbac523ea9685e35.tar.bz2 openbsd-c157b585ad23f1585c90daafcbac523ea9685e35.zip |
Rename shutdown_all() to shutdown_peers() for consistency.
-rw-r--r-- | src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c b/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c index d53aff54f0..212ea99f30 100644 --- a/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c +++ b/src/regress/lib/libssl/unit/ssl_get_shared_ciphers.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_get_shared_ciphers.c,v 1.9 2021/05/03 23:42:04 inoguchi Exp $ */ | 1 | /* $OpenBSD: ssl_get_shared_ciphers.c,v 1.10 2021/05/04 18:20:05 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2021 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -353,7 +353,7 @@ handshake(SSL *client_ssl, SSL *server_ssl, const char *description) | |||
353 | } | 353 | } |
354 | 354 | ||
355 | static int | 355 | static int |
356 | shutdown_all(SSL *client_ssl, SSL *server_ssl, const char *description) | 356 | shutdown_peers(SSL *client_ssl, SSL *server_ssl, const char *description) |
357 | { | 357 | { |
358 | int loops = 0, client_ret = 0, server_ret = 0; | 358 | int loops = 0, client_ret = 0, server_ret = 0; |
359 | 359 | ||
@@ -442,7 +442,7 @@ test_get_shared_ciphers(const struct ssl_shared_ciphers_test_data *test) | |||
442 | goto err; | 442 | goto err; |
443 | } | 443 | } |
444 | 444 | ||
445 | if (!shutdown_all(client_ssl, server_ssl, test->description)) | 445 | if (!shutdown_peers(client_ssl, server_ssl, test->description)) |
446 | goto err; | 446 | goto err; |
447 | 447 | ||
448 | failed = check_shared_ciphers(test, buf); | 448 | failed = check_shared_ciphers(test, buf); |