projects
/
Business-OnlinePayment-CardFortress.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27b593
)
specify the private key as a string or a filename
author
ivan
<ivan>
Tue, 25 May 2010 09:56:34 +0000
(09:56 +0000)
committer
ivan
<ivan>
Tue, 25 May 2010 09:56:34 +0000
(09:56 +0000)
lib/Business/OnlinePayment/CardFortress.pm
patch
|
blob
|
history
diff --git
a/lib/Business/OnlinePayment/CardFortress.pm
b/lib/Business/OnlinePayment/CardFortress.pm
index
db6f422
..
1ba731e
100644
(file)
--- a/
lib/Business/OnlinePayment/CardFortress.pm
+++ b/
lib/Business/OnlinePayment/CardFortress.pm
@@
-92,7
+92,7
@@
sub submit {
my $challenge = decode_base64($response{'card_challenge'});
#here is the hardest part to implement at each client side
- my $rsa_priv = Crypt::OpenSSL::RSA->new_private_key($
self->
private_key);
+ my $rsa_priv = Crypt::OpenSSL::RSA->new_private_key($private_key);
my $response = $rsa_priv->decrypt($challenge);
#try the transaction again with the challenge response