diff options
Diffstat (limited to 'perl/Wallet/ACL/Krb5.pm')
-rw-r--r-- | perl/Wallet/ACL/Krb5.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/Wallet/ACL/Krb5.pm b/perl/Wallet/ACL/Krb5.pm index 8c0610b..f94475f 100644 --- a/perl/Wallet/ACL/Krb5.pm +++ b/perl/Wallet/ACL/Krb5.pm @@ -35,11 +35,11 @@ sub check { my ($self, $principal, $acl) = @_; unless ($principal) { $self->error ('no principal specified'); - return undef; + return; } unless ($acl) { $self->error ('malformed krb5 ACL'); - return undef; + return; } return ($principal eq $acl) ? 1 : 0; } |