diff options
author | relyea%netscape.com <devnull@localhost> | 2001-03-07 17:31:53 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2001-03-07 17:31:53 +0000 |
commit | c29e6e91760e9ae7e7b018f28e750e3e3e55cfb9 (patch) | |
tree | c4b0c2d1c601a9fe45b7c6e103bf38d406704e85 | |
parent | 4cb3288fb5a2b6d6bbe177b0601c3049e1e00a2b (diff) | |
download | nss-hg-c29e6e91760e9ae7e7b018f28e750e3e3e55cfb9.tar.gz |
Fix Bug 70441 where ava fields with one or two characters are not formatted properly.
-rw-r--r-- | security/nss/lib/certdb/alg1485.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/certdb/alg1485.c b/security/nss/lib/certdb/alg1485.c index 628f79696..b5e71fb70 100644 --- a/security/nss/lib/certdb/alg1485.c +++ b/security/nss/lib/certdb/alg1485.c @@ -675,7 +675,7 @@ AppendAVA(char **bufp, unsigned *buflenp, CERTAVA *ava) } /* Check value length */ - if ((avaValue->len < 2) || (avaValue->len > maxLen)) { + if (avaValue->len > maxLen) { PORT_SetError(SEC_ERROR_INVALID_AVA); return SECFailure; } |