summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-11-29 20:47:15 +0000
committerNils Larsch <nils@openssl.org>2006-11-29 20:47:15 +0000
commitd4a62400056e4ce1e3a010802fcf10dd8003c8e3 (patch)
tree96f2b3942c64e49ed012f162acb5f0009ec33058 /ssl/ssl_lib.c
parent5c6f76da0ae3a7797c29744987c7e874a6a91e04 (diff)
replace macros with functions
Submitted by: Tracy Camp <tracyx.e.camp@intel.com>
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 4971b34375..4e81922d75 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -2416,14 +2416,14 @@ int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
#endif
void SSL_set_info_callback(SSL *ssl,
- void (*cb)(const SSL *ssl,int type,int val))
+ void (*cb)(const SSL *ssl,int type,int val))
{
ssl->info_callback=cb;
}
/* One compiler (Diab DCC) doesn't like argument names in returned
function pointer. */
-void (*SSL_get_info_callback(const SSL *ssl))(const SSL * /*ssl*/,int /*type*/,int /*val*/)
+void (*SSL_get_info_callback(const SSL *ssl))(const SSL * /*ssl*/,int /*type*/,int /*val*/)
{
return ssl->info_callback;
}