SECRandom::SetUBound

BOOLSECRandom::SetUBound(unsigned intnMax)

Sets the upper bound of the range.

Defined in: SECRAND.CPP

Return Value

Nonzero if the upper bound is valid, otherwise 0.

Parameters

nMax

Upper bound of random generator range.

Comments

The upper bound must be greater than the current value of the lower bound.

See Also

SECRandom  SetBounds  SetLBound