Commit 3a3effdd authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

scoped_nss_types.h: Include <certt.h> instead of <nss/certt.h>

Follow-up to commit 701cae5d ("Introduce a function to format a DER-encoded
SPKI for UI").

That is the format used by other files that include <certt.h>, and the
pkg-config configuration already passes -I/path/to/nss to the compiler.

This can potentially fix the non-sysroot build, as the NSS headers might be
installed in e.g. /usr/include/nss3 rather than /usr/include/nss.

Change-Id: I0461a7a7f8c93459f2281ea71c96434a74687ee8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214390
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: David Benjamin <davidben@chromium.org>
Reviewed-by: default avatarDavid Benjamin <davidben@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771840}
parent 67063f22
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
#ifndef CRYPTO_SCOPED_NSS_TYPES_H_ #ifndef CRYPTO_SCOPED_NSS_TYPES_H_
#define CRYPTO_SCOPED_NSS_TYPES_H_ #define CRYPTO_SCOPED_NSS_TYPES_H_
#include <certt.h>
#include <keyhi.h> #include <keyhi.h>
#include <nss.h> #include <nss.h>
#include <nss/certt.h>
#include <pk11pub.h> #include <pk11pub.h>
#include <plarena.h> #include <plarena.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment