Closed Bug 1558977 Opened 10 months ago Closed 10 months ago

security/certverifier/NSSCertDBTrustDomain.cpp:111:9: error: 'PK11_FindRawCertsWithSubject' w as not declared in this scope; did you mean 'FindRootsWithSubject'

Categories

(Core :: Security: PSM, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 --- fixed

People

(Reporter: jbeich, Assigned: jcj)

References

(Regression)

Details

Attachments

(1 file)

PK11_FindRawCertsWithSubject was added in bug 1552262 but Firefox 69 still requires NSS >= 3.44.

https://searchfox.org/mozilla-central/rev/227f5329f75b/old-configure.in#1540

$ c++ -v
FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

$ pkg info -x nss
nss-3.44

$ echo "ac_add_options --with-system-nss" >>.mozconfig
$ ./mach build
[...]
In file included from objdir/security/certverifier/Unified_cpp_certverifier0.cpp:29:
security/certverifier/NSSCertDBTrustDomain.cpp:111:9: error: use of undeclared identifier 'PK11_FindRawCertsWithSubject'
if (PK11_FindRawCertsWithSubject(rootsModule->slots[slotIndex], &subject,
^
1 error generated.

Oops. Thanks!

Assignee: nobody → jjones
Status: NEW → ASSIGNED
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.