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/rsa | |
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/rsa')
-rw-r--r-- | crypto/rsa/rsa.c | 2 | ||||
-rw-r--r-- | crypto/rsa/rsa_test.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa/rsa.c b/crypto/rsa/rsa.c index 9ffea1f2..0b298930 100644 --- a/crypto/rsa/rsa.c +++ b/crypto/rsa/rsa.c @@ -64,7 +64,7 @@ #include <openssl/err.h> #include <openssl/ex_data.h> #include <openssl/mem.h> -#include <openssl/obj.h> +#include <openssl/nid.h> #include <openssl/thread.h> #include "internal.h" diff --git a/crypto/rsa/rsa_test.cc b/crypto/rsa/rsa_test.cc index 3f0dff5d..62177a4c 100644 --- a/crypto/rsa/rsa_test.cc +++ b/crypto/rsa/rsa_test.cc @@ -63,7 +63,7 @@ #include <openssl/bytestring.h> #include <openssl/crypto.h> #include <openssl/err.h> -#include <openssl/obj.h> +#include <openssl/nid.h> #include "../test/scoped_types.h" |