IWYU in cms_test.cc

Change-Id: Ie5c80561b18ec9236bac4e159237c6e9ac984319
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/78747
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
Auto-Submit: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
diff --git a/crypto/cms/cms_test.cc b/crypto/cms/cms_test.cc
index 9f5780f..f0d8281 100644
--- a/crypto/cms/cms_test.cc
+++ b/crypto/cms/cms_test.cc
@@ -20,7 +20,10 @@
 
 #include <openssl/bio.h>
 #include <openssl/digest.h>
+#include <openssl/err.h>
+#include <openssl/nid.h>
 #include <openssl/pem.h>
+#include <openssl/x509.h>
 
 #include "../test/test_data.h"
 #include "../test/test_util.h"