提交 c0035435 编写于 作者: B Ben Laurie

Rid the world of yet more evil casts.

上级 3bb307c1
......@@ -607,12 +607,12 @@ void (*free_func)();
int X509_STORE_CTX_set_ex_data(ctx,idx,data)
X509_STORE_CTX *ctx;
int idx;
char *data;
void *data;
{
return(CRYPTO_set_ex_data(&ctx->ex_data,idx,data));
}
char *X509_STORE_CTX_get_ex_data(ctx,idx)
void *X509_STORE_CTX_get_ex_data(ctx,idx)
X509_STORE_CTX *ctx;
int idx;
{
......
......@@ -309,8 +309,8 @@ int X509_STORE_set_default_paths(X509_STORE *ctx);
int X509_STORE_CTX_get_ex_new_index(long argl, char *argp, int (*new_func)(),
int (*dup_func)(), void (*free_func)());
int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,char *data);
char * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx);
int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,void *data);
void * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx);
int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s);
int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
......@@ -370,7 +370,7 @@ int X509_STORE_set_default_paths();
int X509_STORE_CTX_get_ex_new_index();
int X509_STORE_CTX_set_ex_data();
char * X509_STORE_CTX_get_ex_data();
void * X509_STORE_CTX_get_ex_data();
int X509_STORE_CTX_get_error();
void X509_STORE_CTX_set_error();
int X509_STORE_CTX_get_error_depth();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册