chunk 6 of CMP contribution to OpenSSL
[openssl.git] / util / mkrc.pl
index b4c53edf6b9ee54cf29b11f5e008c1581a1eec33..8ff358857dbb4c6f769c8337d5812684db691edd 100755 (executable)
@@ -11,8 +11,11 @@ use warnings;
 use lib ".";
 use configdata;
 
-my $cversion = "$config{major},$config{minor},$config{patch}";
-my $version = "$config{major}.$config{minor}.$config{patch}$config{prerelease}$config{build_metadata}";
+my $cversion = "$config{version}";
+my $version = "$config{full_version}";
+
+# RC syntax for versions uses commas as separators, rather than period
+$cversion =~ s|\.|,|g;
 
 my $filename = $ARGV[0];
 my $description = "OpenSSL library";