diff options
author | Alex Dupre <ale@FreeBSD.org> | 2009-10-19 14:44:51 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2009-10-19 14:44:51 +0000 |
commit | a35f82137ae13ab7e203ed4f6afab2ad96052291 (patch) | |
tree | 3574c0422ea608ad5dd5f177cdc096e6c60ffdee /security/nss | |
parent | b31056b87967302e7f0e3e4960233903796658a3 (diff) |
Fix subtle (cut'n'paste) bug.
Notes
Notes:
svn path=/head/; revision=243053
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/Makefile | 2 | ||||
-rw-r--r-- | security/nss/files/patch-lib_softoken_legacydb_lgfind.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index 9ca04dca35e0..97eec7172fcd 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -7,7 +7,7 @@ PORTNAME= nss PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src diff --git a/security/nss/files/patch-lib_softoken_legacydb_lgfind.c b/security/nss/files/patch-lib_softoken_legacydb_lgfind.c new file mode 100644 index 000000000000..719fb840bded --- /dev/null +++ b/security/nss/files/patch-lib_softoken_legacydb_lgfind.c @@ -0,0 +1,11 @@ +--- lib/softoken/legacydb/lgfind.c.orig 2009-10-19 16:07:48.000000000 +0200 ++++ lib/softoken/legacydb/lgfind.c 2009-10-19 16:08:04.000000000 +0200 +@@ -778,7 +778,7 @@ + classFlags &= LG_TRUST; + copy = &cert_md5_hash; break; + case CKA_CERTIFICATE_TYPE: +- crv = lg_GetULongAttribute(CKA_CLASS,&pTemplate[i],1,&certType); ++ crv = lg_GetULongAttribute(CKA_CERTIFICATE_TYPE,&pTemplate[i],1,&certType); + if (crv != CKR_OK) { + classFlags = 0; + } |