~ubuntu-branches/ubuntu/karmic/libapache-session-perl/karmic

« back to all changes in this revision

Viewing changes to Session/Generate/MD5.pm

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayorga, Joachim Breitner, Rene Mayorga, gregor herrmann
  • Date: 2008-08-09 23:01:05 UTC
  • mfrom: (1.1.7 upstream) (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20080809230105-wi03x8sc9cyxeges
Tags: 1.87-1
[ Joachim Breitner ]
* Removed myself from uploaders.

[ Rene Mayorga ]
* New upstream release
* debian/control
  + Set standards-Version to 3.8.0 
    + Add README.source
  + Bump compat level and dehelper to 7
  + Add myself to uploaders
  + Add ${misc:Depends} to Depends field
* refresh debian/rules with rules.dh7.noxs
* Add shebang to examples instead or changing their perms.
  + Adding shebang_examples.patch
  + Add quilt to Build-Depends
* Convert debian/copyright to the new proposed format

[ gregor herrmann ]
* debian/control: change my email address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
use vars qw($VERSION);
14
14
use Digest::MD5;
15
15
 
16
 
$VERSION = '2.1';
 
16
$VERSION = '2.11';
17
17
 
18
18
sub generate {
19
19
    my $session = shift;
37
37
    my $session = shift;
38
38
    
39
39
    if ($session->{data}->{_session_id} !~ /^[a-fA-F0-9]+$/) {
40
 
        die;
 
40
        die "Invalid session ID: ".$session->{data}->{_session_id};
41
41
    }
42
42
}
43
43