]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When computing a new seed for an existing user, opienewseed() would
authorDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 22 Jan 2003 10:55:36 +0000 (10:55 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 22 Jan 2003 10:55:36 +0000 (10:55 +0000)
commit5da7cece45f11f0ffc3957e4770b2d55f869ad4d
tree9b5294612d80bd0160cf8e56dee0f652d1cf7445
parent033aebebc4a1038f8c662edd30be8dbc5d359219
When computing a new seed for an existing user, opienewseed() would
incorrectly compute the length of the numeric portion of the previous
seed, causing the new seed to be one character shorter than the old
one.

This patch has been submitted to the vendor; I'm committing it right
away since the file is already off the vendor branch.

MFC after: 3 days
contrib/opie/libopie/newseed.c