bagder: curl-www metalink.cgi,1.6,1.7
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www
In directory labb:/tmp/cvs-serv18569
Modified Files:
metalink.cgi
Log Message:
<hash> is now <signature> !
Index: metalink.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/metalink.cgi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- metalink.cgi 23 Jul 2007 20:13:07 -0000 1.6
+++ metalink.cgi 18 Apr 2008 12:50:31 -0000 1.7
@@ -124,17 +124,17 @@
"<version>".$latest::version{$what}."</version>\n",
"<size>".$latest::size{$what}."</size>\n",
"<verification>\n",
- "<hash type=\"md5\">".$md5."</hash>\n",
- "<hash type=\"sha1\">".$sha1."</hash>\n";
+ "<signature type=\"md5\">".$md5."</signature>\n",
+ "<signature type=\"sha1\">".$sha1."</signature>\n";
if( -r "download/$archive.asc" ) {
- print "<hash type=\"pgp\" file=\"$archive.asc\">\n";
+ print "<signature type=\"pgp\" file=\"$archive.asc\">\n";
open(SIG, "<download/$archive.asc");
while(<SIG>) {
print CGI::escapeHTML($_);
}
close(SIG);
- print "</hash>\n";
+ print "</signature>\n";
}
print "</verification>\n";