Bugzilla Bug 336937: removed a test that is guaranteed to be true. The

patch is contributed by Jon Smirl <jonsmirl@yahoo.com>. r=nelsonb,wtc.
This commit is contained in:
wtchang%redhat.com 2006-05-12 20:33:47 +00:00
Родитель 90316ec898
Коммит 4e43ea1d0a
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -37,7 +37,7 @@
/* /*
* Permanent Certificate database handling code * Permanent Certificate database handling code
* *
* $Id: pcertdb.c,v 1.61 2006/04/27 18:35:24 alexei.volkov.bugs%sun.com Exp $ * $Id: pcertdb.c,v 1.62 2006/05/12 20:33:47 wtchang%redhat.com Exp $
*/ */
#include "prtime.h" #include "prtime.h"
@ -2799,8 +2799,7 @@ AddNicknameToSubject(NSSLOWCERTCertDBHandle *dbhandle,
goto loser; goto loser;
} }
entry->nickname = (nickname) ? entry->nickname = PORT_ArenaStrdup(entry->common.arena, nickname);
PORT_ArenaStrdup(entry->common.arena, nickname) : NULL;
if ( entry->nickname == NULL ) { if ( entry->nickname == NULL ) {
goto loser; goto loser;