diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-13 16:01:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-13 23:22:07 +0100 |
commit | a79555291e2c54f4f37b44dff7f0fe9b6c743d56 (patch) | |
tree | efaa81565057fe43f79d8b79a87c1ba39ffd703a /lib/vtls | |
parent | 3831043eff9ed412428150537374facb609e5b33 (diff) | |
download | curl-a79555291e2c54f4f37b44dff7f0fe9b6c743d56.tar.gz |
nss: get the run-time version instead of build-time
Closes #6445
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/nss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index 59649ccc3..4d84da27f 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -2341,7 +2341,7 @@ static ssize_t nss_recv(struct connectdata *conn, /* connection data */ static size_t Curl_nss_version(char *buffer, size_t size) { - return msnprintf(buffer, size, "NSS/%s", NSS_VERSION); + return msnprintf(buffer, size, "NSS/%s", NSS_GetVersion()); } /* data might be NULL */ |