If we've not been inited don't deinit
[openssl.git] / crypto / store / str_mem.c
index add76e718a4b765ba35759490c9f3f5f04031c58..e6424e32eef441489e65a1a627a8481fb404c6d6 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/store/str_mem.c -*- mode:C; c-file-style: "eay" -*- */
 /*
  * Written by Richard Levitte (richard@levitte.org) for the OpenSSL project
  * 2003.
@@ -83,7 +82,7 @@ typedef struct mem_object_data_st {
     int references;
 } MEM_OBJECT_DATA;
 
-DECLARE_STACK_OF(MEM_OBJECT_DATA)
+DEFINE_STACK_OF(MEM_OBJECT_DATA)
 struct mem_data_st {
     /*
      * sorted with
@@ -98,7 +97,7 @@ struct mem_data_st {
     unsigned int compute_components:1;
 };
 
-DECLARE_STACK_OF(STORE_ATTR_INFO)
+DEFINE_STACK_OF(STORE_ATTR_INFO)
 struct mem_ctx_st {
     /* The type we're searching for */
     int type;