From: Daniel Stenberg Date: Wed, 13 Jan 2021 15:01:57 +0000 (+0100) Subject: nss: get the run-time version instead of build-time X-Git-Tag: curl-7_75_0~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a79555291e2c54f4f37b44dff7f0fe9b6c743d56;p=thirdparty%2Fcurl.git nss: get the run-time version instead of build-time Closes #6445 --- diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index 59649ccc3a..4d84da27f6 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, , 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 */