Fix CMP -days option range checking and test failing with enable-ubsan
[openssl.git] / crypto / x509 / x509_obj.c
index 9d8f48d2ee19850e6a74039385d97920c742f604..c1e893bf1367b399a4fc1d6c8b53c12781056c4a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
  *
  * 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
@@ -14,6 +14,8 @@
 #include <openssl/buffer.h>
 #include "crypto/x509.h"
 
+DEFINE_STACK_OF(X509_NAME_ENTRY)
+
 /*
  * Limit to ensure we don't overflow: much greater than
  * anything encountered in practice.