summaryrefslogtreecommitdiffstats
path: root/pki/base/tps/src/channel/Secure_Channel.cpp
diff options
context:
space:
mode:
authorjmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-08-27 23:27:40 +0000
committerjmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-08-27 23:27:40 +0000
commit3cdba29da5b81f90e361975338ecc1f9eea48f00 (patch)
tree38c5fead74d0de506babdb26cb9a9b019c1b369d /pki/base/tps/src/channel/Secure_Channel.cpp
parent7175f637c3d4fe8c2578b79d37019a8daf07da8c (diff)
downloadpki-3cdba29da5b81f90e361975338ecc1f9eea48f00.tar.gz
pki-3cdba29da5b81f90e361975338ecc1f9eea48f00.tar.xz
pki-3cdba29da5b81f90e361975338ecc1f9eea48f00.zip
Fix Bug 579790 - errors in ESC communications can leave unusable tokens and inconsistent data in TPS.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1250 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/tps/src/channel/Secure_Channel.cpp')
-rw-r--r--pki/base/tps/src/channel/Secure_Channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pki/base/tps/src/channel/Secure_Channel.cpp b/pki/base/tps/src/channel/Secure_Channel.cpp
index 1bc53fe36..50b24ae99 100644
--- a/pki/base/tps/src/channel/Secure_Channel.cpp
+++ b/pki/base/tps/src/channel/Secure_Channel.cpp
@@ -429,7 +429,7 @@ loser:
int Secure_Channel::InstallApplet(RA_Session *session,
Buffer &packageAID, Buffer &appletAID,
- BYTE appPrivileges, unsigned int instanceSize)
+ BYTE appPrivileges, unsigned int instanceSize, unsigned int appletMemorySize)
{
int rc = 0;
APDU_Response *install_response = NULL;
@@ -442,7 +442,7 @@ int Secure_Channel::InstallApplet(RA_Session *session,
"RA_Processor::InstallApplet");
install_apdu = new Install_Applet_APDU(packageAID, appletAID, appPrivileges,
- instanceSize);
+ instanceSize, appletMemorySize );
rc = ComputeAPDU(install_apdu);
if (rc == -1)
goto loser;