apps/tsget.in: use the full version in the user agent string
authorRichard Levitte <levitte@openssl.org>
Mon, 10 Dec 2018 19:09:17 +0000 (20:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Dec 2018 19:09:17 +0000 (20:09 +0100)
Fixes #7861

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7866)

apps/tsget.in

index 604b4ca..d87ea4d 100644 (file)
@@ -47,7 +47,7 @@ sub create_curl {
     $curl->setopt(CURLOPT_VERBOSE, 1) if $options{d};
     $curl->setopt(CURLOPT_FAILONERROR, 1);
     $curl->setopt(CURLOPT_USERAGENT,
-        "OpenTSA tsget.pl/openssl-{- $config{version} -}");
+        "OpenTSA tsget.pl/openssl-{- $config{full_version} -}");
 
     # Options for POST method.
     $curl->setopt(CURLOPT_UPLOAD, 1);