Dear Sir;

We realized that crypto++5.4 do not cause any problem. We should use
crypto++5.1 because we use SFL and SFL uses crypto5.1++.

Previous problem was solved by some changes like;

----------crypto++5.1----------

at function

void PKCS8PrivateKey
<javascript:searchRef('PKCS8PrivateKey')>::BERDecode
<javascript:searchRef('BERDecode')>(BufferedTransformation
<javascript:searchRef('BufferedTransformation')> &bt
<javascript:searchRef('bt')>)
.
.
.
//only this line is called
BERDecodeOptionalAttributes
<javascript:searchRef('BERDecodeOptionalAttributes')>(privateKeyInfo
<javascript:searchRef('privateKeyInfo')>);
.
.

but at

----------crypto++5.4----------
void PKCS8PrivateKey
<javascript:searchRef('PKCS8PrivateKey')>::BERDecode
<javascript:searchRef('BERDecode')>(BufferedTransformation
<javascript:searchRef('BufferedTransformation')> &bt
<javascript:searchRef('bt')>)
.
.
.
if(!privateKeyInfo.EndReached()) //additional line at the phase of
from 5.1 to 5.4
   BERDecodeOptionalAttributes
<javascript:searchRef('BERDecodeOptionalAttributes')>(privateKeyInfo
<javascript:searchRef('privateKeyInfo')>);
.
.
----------------

We add this if(!privateKeyInfo.EndReached()) check
to asn.cpp [crypto5.1] but we get same error at same code block.

Now we are trying to force SFL (SMP2.5) to use crypto++ version 5.4.

Wish us good luck : )

Thank you for your helps.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to