summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-05-24 18:34:03 +0000
committermiod <miod@openbsd.org>2014-05-24 18:34:03 +0000
commitdddc0f7084483ccddb51bda22d5f7d8afb5a6d22 (patch)
treeffdcfcafef847d52bc477358bb1db617c589bf5e /lib/libssl/src
parentBreak annoyingly long line that keeps popping up in diffs. (diff)
downloadwireguard-openbsd-dddc0f7084483ccddb51bda22d5f7d8afb5a6d22.tar.xz
wireguard-openbsd-dddc0f7084483ccddb51bda22d5f7d8afb5a6d22.zip
I'm so sorry to learn that the Diab compiler can't (or used not to) parse C
code. Remove workaround.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/ssl/ssl_lib.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/src/ssl/ssl_lib.c b/lib/libssl/src/ssl/ssl_lib.c
index c2e6b407c50..694bc900a0e 100644
--- a/lib/libssl/src/ssl/ssl_lib.c
+++ b/lib/libssl/src/ssl/ssl_lib.c
@@ -2963,11 +2963,7 @@ SSL_set_info_callback(SSL *ssl,
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);
}