diff options
author | David Benjamin <davidben@google.com> | 2016-03-26 01:07:11 +0300 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-03-31 23:50:33 +0300 |
commit | 981936791eb76c52daedb18310fced187252ed30 (patch) | |
tree | 65dcde1bd667ed5d50a0d0dcfd64391308e2f07a /crypto/pkcs8 | |
parent | 5d38f78e2987be876e3023808b4eed57c84ce23c (diff) |
Remove some easy obj.h dependencies.
A lot of consumers of obj.h only want the NID values. Others didn't need
it at all. This also removes some OBJ_nid2sn and OBJ_nid2ln calls in EVP
error paths which isn't worth pulling a large table in for.
BUG=chromium:499653
Change-Id: Id6dff578f993012e35b740a13b8e4f9c2edc0744
Reviewed-on: https://boringssl-review.googlesource.com/7563
Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'crypto/pkcs8')
-rw-r--r-- | crypto/pkcs8/p5_pbe.c | 1 | ||||
-rw-r--r-- | crypto/pkcs8/p5_pbev2.c | 1 | ||||
-rw-r--r-- | crypto/pkcs8/pkcs8.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/crypto/pkcs8/p5_pbe.c b/crypto/pkcs8/p5_pbe.c index 653cabf3..8e56d41b 100644 --- a/crypto/pkcs8/p5_pbe.c +++ b/crypto/pkcs8/p5_pbe.c @@ -57,6 +57,7 @@ #include <openssl/asn1t.h> #include <openssl/err.h> +#include <openssl/obj.h> #include <openssl/pkcs8.h> #include <openssl/rand.h> #include <openssl/x509.h> diff --git a/crypto/pkcs8/p5_pbev2.c b/crypto/pkcs8/p5_pbev2.c index fec0d86d..3799b39b 100644 --- a/crypto/pkcs8/p5_pbev2.c +++ b/crypto/pkcs8/p5_pbev2.c @@ -61,6 +61,7 @@ #include <openssl/cipher.h> #include <openssl/err.h> #include <openssl/mem.h> +#include <openssl/obj.h> #include <openssl/pkcs8.h> #include <openssl/rand.h> #include <openssl/x509.h> diff --git a/crypto/pkcs8/pkcs8.c b/crypto/pkcs8/pkcs8.c index 175a8855..3825522b 100644 --- a/crypto/pkcs8/pkcs8.c +++ b/crypto/pkcs8/pkcs8.c @@ -68,6 +68,7 @@ #include <openssl/err.h> #include <openssl/hmac.h> #include <openssl/mem.h> +#include <openssl/obj.h> #include <openssl/x509.h> #include "internal.h" |