[BUG SUB] handling of realname, key pair generating - silc-client

Pekka Riikonen priikone at iki.fi
Tue Jul 25 08:15:20 CEST 2006


: Fix:
: 
: --- silcunixutil_old.c  2006-07-25 02:11:28.590729600 +0200
: +++ silcunixutil_new.c  2006-07-25 02:11:48.000000000 +0200
: @@ -165,6 +165,9 @@
:    if (strchr(pw->pw_gecos, \',\'))
:      *strchr(pw->pw_gecos, \',\') = 0;
: 
: +  if (!strlen(pw->pw_gecos))
: +    return strdup(\"Foo T. Bar\");
: +
:    realname = strdup(pw->pw_gecos);
: 
:    return realname;
:
Committed.  Thanks.

	Pekka
________________________________________________________________________
 Pekka Riikonen                                 priikone at silcnet.org
 Secure Internet Live Conferencing (SILC)       http://silcnet.org/


More information about the silc-devel mailing list