diff --git a/mozilla/security/nss/lib/certdb/certdb.c b/mozilla/security/nss/lib/certdb/certdb.c index 362dc124862..beeafd18715 100644 --- a/mozilla/security/nss/lib/certdb/certdb.c +++ b/mozilla/security/nss/lib/certdb/certdb.c @@ -39,7 +39,7 @@ /* * Certificate handling code * - * $Id: certdb.c,v 1.99 2009-03-20 18:03:57 nelson%bolyard.com Exp $ + * $Id: certdb.c,v 1.100 2009-03-23 02:18:19 nelson%bolyard.com Exp $ */ #include "nssilock.h" @@ -1554,7 +1554,7 @@ cert_VerifySubjectAltName(CERTCertificate *cert, const char *hn) int cnLen = current->name.other.len; rv = CERT_RFC1485_EscapeAndQuote(cn, cnBufLen, current->name.other.data, cnLen); - if (rv != SECSuccess && PORT_GetError == SEC_ERROR_OUTPUT_LEN) { + if (rv != SECSuccess && PORT_GetError() == SEC_ERROR_OUTPUT_LEN) { cnBufLen = cnLen * 3 + 3; /* big enough for worst case */ cn = (char *)PORT_ArenaAlloc(arena, cnBufLen); if (!cn)