summaryrefslogtreecommitdiffstats
path: root/src/iperf_auth.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:27:01 +0000
commitdc990bc79d0d7663bd6e775d2253e158b74686b4 (patch)
tree8e3731e353efeffbf1319921c34e579fa403033b /src/iperf_auth.h
parentReleasing progress-linux version 3.16-1~progress7.99u1. (diff)
downloadiperf3-dc990bc79d0d7663bd6e775d2253e158b74686b4.tar.xz
iperf3-dc990bc79d0d7663bd6e775d2253e158b74686b4.zip
Merging upstream version 3.17.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/iperf_auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iperf_auth.h b/src/iperf_auth.h
index ffadbf3..eedd45a 100644
--- a/src/iperf_auth.h
+++ b/src/iperf_auth.h
@@ -35,7 +35,7 @@ EVP_PKEY *load_pubkey_from_file(const char *file);
EVP_PKEY *load_pubkey_from_base64(const char *buffer);
EVP_PKEY *load_privkey_from_file(const char *file);
EVP_PKEY *load_privkey_from_base64(const char *buffer);
-int encode_auth_setting(const char *username, const char *password, EVP_PKEY *public_key, char **authtoken);
-int decode_auth_setting(int enable_debug, const char *authtoken, EVP_PKEY *private_key, char **username, char **password, time_t *ts);
+int encode_auth_setting(const char *username, const char *password, EVP_PKEY *public_key, char **authtoken, int use_pkcs1_padding);
+int decode_auth_setting(int enable_debug, const char *authtoken, EVP_PKEY *private_key, char **username, char **password, time_t *ts, int use_pkcs1_padding);
int check_authentication(const char *username, const char *password, const time_t ts, const char *filename, int skew_threshold);
ssize_t iperf_getpass (char **lineptr, size_t *n, FILE *stream);