Skip to content
Snippets Groups Projects
Commit 1d34346c authored by mcgreer%netscape.com's avatar mcgreer%netscape.com
Browse files

fix up the comment

btw, the last checkin was r=wtc,relyea
parent c64ee802
No related branches found
No related tags found
No related merge requests found
......@@ -2114,7 +2114,7 @@ pk11_GetPrivKey(PK11Object *object,CK_KEY_TYPE key_type)
if (!priv && pubKey.data[0] == 0) {
/* Because of legacy code issues, sometimes the public key has
* a '0' prepended to it, forcing it to be unsigned. The database
* does not store that '0', so catch that failure here.
* may not store that '0', so remove it and try again.
*/
SECItem tmpPubKey;
tmpPubKey.data = pubKey.data + 1;
......
......@@ -752,8 +752,8 @@ pk11_DestroyObject(PK11Object *object)
if (rv != SECSuccess && pubKey.data[0] == 0) {
/* Because of legacy code issues, sometimes the public key
* has a '0' prepended to it, forcing it to be unsigned.
* The database does not store that '0', so catch that
* failure here.
* The database may not store that '0', so remove it and
* try again.
*/
SECItem tmpPubKey;
tmpPubKey.data = pubKey.data + 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment