We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6f62b commit d03635aCopy full SHA for d03635a
helper.pl
@@ -276,8 +276,8 @@ sub patch_makefile {
276
277
sub version_form_tomcrypt_h {
278
my $h = read_file(shift);
279
- if ($h =~ /\n#define\s*SCRYPT\s*"([0-9]+)\.([0-9]+)"/s) {
280
- return "VERSION=$1.$2", "VERSION_LT=0:$1$2";
+ if ($h =~ /\n#define\s*SCRYPT\s*"([0-9]+)\.([0-9]+)\.([0-9]+).*"/s) {
+ return "VERSION=$1.$2.$3", "VERSION_LT=0:$1$2";
281
}
282
else {
283
die "#define SCRYPT not found in tomcrypt.h";
0 commit comments