Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:danci1973
tinyca2
0004-add-sha256.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-add-sha256.diff of Package tinyca2
diff -Nur tinyca2-0.7.5-orig//lib/GUI.pm tinyca2-0.7.5-new//lib/GUI.pm --- tinyca2-0.7.5-orig//lib/GUI.pm 2016-07-01 10:43:25.000000000 +0200 +++ tinyca2-0.7.5-new//lib/GUI.pm 2016-07-01 10:44:51.000000000 +0200 @@ -31,6 +31,7 @@ my %md_algorithms = ( 'md5' => 'MD5', 'sha1' => 'SHA1', + 'sha256' => 'SHA256', 'md2' => 'MD2', 'mdc2' => 'MDC2', 'md4' => 'MD4', diff -Nur tinyca2-0.7.5-orig//lib/REQ.pm tinyca2-0.7.5-new//lib/REQ.pm --- tinyca2-0.7.5-orig//lib/REQ.pm 2006-07-25 22:12:00.000000000 +0200 +++ tinyca2-0.7.5-new//lib/REQ.pm 2016-07-01 10:44:53.000000000 +0200 @@ -426,6 +426,8 @@ $opts->{'digest'} = "md5"; } elsif ($opts->{'digest'} =~ /^sha1/) { $opts->{'digest'} = "sha1"; + } elsif ($opts->{'digest'} =~ /^sha256/) { + $opts->{'digest'} = "sha256"; } elsif ($opts->{'digest'} =~ /^ripemd160/) { $opts->{'digest'} = "ripemd160"; } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor