aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl.h
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.h
parentdb6a87d8cccfbb2802c4116655a3221756405fd8 (diff)
downloadopenssl-31fe950d2b3fad3ac7ca2922c2af2104514a9496.tar.gz
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.h')
-rw-r--r--ssl/ssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index b4a3543d14..f364240fba 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -586,7 +586,7 @@ struct ssl_ctx_st
int read_ahead;
/* callback that allows applications to peek at protocol messages */
- void (*msg_callback)(int write, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
+ void (*msg_callback)(int write_p, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
void *msg_callback_arg;
int verify_mode;
@@ -732,7 +732,7 @@ struct ssl_st
* (for non-blocking reads) */
/* callback that allows applications to peek at protocol messages */
- void (*msg_callback)(int write, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
+ void (*msg_callback)(int write_p, int version, int content_type, size_t len, const char *buf, SSL *ssl, void *arg);
void *msg_callback_arg;
int hit; /* reusing a previous session */