#include <stdio.h>
#include <stdlib.h>
-#include "buffer.h"
-#include "bio.h"
-#include "lhash.h"
+#include <openssl/buffer.h>
+#include <openssl/bio.h>
+#include <openssl/lhash.h>
#include "cryptlib.h"
int CRYPTO_get_ex_new_index(int idx, STACK **skp, long argl, char *argp,
goto err;
}
}
- sk_value(*skp,idx)=(char *)a;
+ sk_set(*skp,idx, (char *)a);
ret=idx;
err:
MemCheck_on();
}
i++;
}
- sk_value(ad->sk,idx)=val;
+ sk_set(ad->sk,idx,val);
return(1);
}
return(sk_value(ad->sk,idx));
}
-/* The callback is called with the 'object', which is the origional data object
+/* The callback is called with the 'object', which is the original data object
* being duplicated, a pointer to the
* 'new' object to be inserted, the index, and the argi/argp
*/