bug fix suggested by Damien to allow the recompute of the SPA digest to properly happen when calling spa_digest() with a true value
git-svn-id: file:///home/mbr/svn/fwknop/trunk@109 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
+2
-2
@@ -265,13 +265,13 @@ sub spa_client_timeout {
|
||||
|
||||
sub spa_digest {
|
||||
my $self = shift;
|
||||
my $val = shift;
|
||||
my $recompute = shift || 0;
|
||||
|
||||
my $val = '';
|
||||
|
||||
return FKO::_set_spa_digest($self->{_ctx})
|
||||
if($recompute);
|
||||
|
||||
$val = '';
|
||||
$self->{_err} = FKO::_get_spa_digest($self->{_ctx}, $val);
|
||||
|
||||
return($self->_check_return_val($val));
|
||||
|
||||
Reference in New Issue
Block a user