aboutsummaryrefslogtreecommitdiff
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-10-17 20:44:25 +0000
committerBodo Möller <bodo@openssl.org>2001-10-17 20:44:25 +0000
commit31fe950d2b3fad3ac7ca2922c2af2104514a9496 (patch)
tree7bd0d69a90e84742d097fbfe439895c0549b71c4 /ssl/ssl_lib.c
parentdb6a87d8cccfbb2802c4116655a3221756405fd8 (diff)
downloadopenssl-31fe950d2b3fad3ac7ca2922c2af2104514a9496.zip
openssl-31fe950d2b3fad3ac7ca2922c2af2104514a9496.tar.gz
openssl-31fe950d2b3fad3ac7ca2922c2af2104514a9496.tar.bz2
gcc complained about "write" being shadowed even though the "write"
variable name occured just in a function *prototype* -- so rename it
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 67fccc5..1a434a5 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -939,7 +939,7 @@ long SSL_callback_ctrl(SSL *s, int cmd, void (*fp)())
switch(cmd)
{
case SSL_CTRL_SET_MSG_CALLBACK:
- s->msg_callback = (void (*)(int write, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg))(fp);
+ s->msg_callback = (void (*)(int write_p, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg))(fp);
return 1;
default:
@@ -1027,7 +1027,7 @@ long SSL_CTX_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp)())
switch(cmd)
{
case SSL_CTRL_SET_MSG_CALLBACK:
- ctx->msg_callback = (void (*)(int write, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg))(fp);
+ ctx->msg_callback = (void (*)(int write_p, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg))(fp);
return 1;
default: