Bug 261506. Handle binary keys up to 128k
This commit is contained in:
@@ -1747,7 +1747,7 @@ miCASAWriteBinaryKey
|
||||
return(NSSCS_E_BUFFER_LEN);
|
||||
}
|
||||
|
||||
if ((keyLen > NSSCS_MAX_SECRET_ID_LEN/4) || (*valLen > NSSCS_MAX_SECRET_BUF_LEN/4))
|
||||
if ((keyLen > NSSCS_MAX_SECRET_ID_LEN/4) || (*valLen > NSSCS_MAX_BINARY_VALUE_LEN))
|
||||
{
|
||||
return(NSSCS_E_BUFFER_LEN);
|
||||
}
|
||||
@@ -3800,4 +3800,4 @@ miCASAMergeCache
|
||||
return rcode;
|
||||
|
||||
/* ############################### CODE ENDS HERE ############################# */
|
||||
} // end of miCASAIsSecretPersistent
|
||||
} // end of miCASAIsSecretPersistent
|
||||
|
||||
Reference in New Issue
Block a user