In OpenSSL builds, declare STACK for datatypes ...
[openssl.git] / crypto / x509 / x509_obj.c
index 85c39415c11e9f9384bb0f9e526d5389ccef0478..1229c01b6b4909d855145e58d95851cebe4c8e79 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
  *
- * Licensed under the OpenSSL license (the "License").  You may not use
+ * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
  * in the file LICENSE in the source distribution or at
  * https://www.openssl.org/source/license.html
@@ -12,7 +12,9 @@
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 #include <openssl/buffer.h>
-#include "internal/x509_int.h"
+#include "crypto/x509.h"
+
+DEFINE_STACK_OF(X509_NAME_ENTRY)
 
 /*
  * Limit to ensure we don't overflow: much greater than