#include <stdlib.h>
#include <string.h>
-#include "lhash.h"
-#include "objects.h"
+#include <openssl/lhash.h>
+#include <openssl/objects.h>
/* I use the ex_data stuff to manage the identifiers for the obj_name_types
* that applications may define. I only really use the free function field.
MemCheck_on();
}
if (hash_func != NULL)
- sk_value(names_hash,ret)=(char *)hash_func;
+ sk_set(names_hash,ret,(char *)hash_func);
if (cmp_func != NULL)
- sk_value(names_cmp,ret)= (char *)cmp_func;
+ sk_set(names_cmp,ret,(char *)cmp_func);
if (free_func != NULL)
- sk_value(names_free,ret)=(char *)free_func;
+ sk_set(names_free,ret,(char *)free_func);
return(ret);
}