summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2002-02-28 21:22:42 +0000
committerbrad <brad@openbsd.org>2002-02-28 21:22:42 +0000
commitaf58514324bd13b143942806cd22b6be1550167c (patch)
treec4f4a96d38ea6ba7762c9dba7fea8d5f09a8544b /usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
parentlog user not allowed details, from dwd@bell-labs.com; ok markus@ (diff)
downloadwireguard-openbsd-af58514324bd13b143942806cd22b6be1550167c.tar.xz
wireguard-openbsd-af58514324bd13b143942806cd22b6be1550167c.zip
merge mod_ssl 2.8.7
-- Ok'd by: beck@
Diffstat (limited to 'usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c')
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c b/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
index 84f49e66571..c698a90eaba 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_engine_dh.c
@@ -103,7 +103,7 @@ static unsigned char dh512_g[] =
0x02,
};
-static DH *get_dh512()
+static DH *get_dh512(void)
{
DH *dh;
@@ -134,7 +134,7 @@ static unsigned char dh1024_g[] =
0x02,
};
-static DH *get_dh1024()
+static DH *get_dh1024(void)
{
DH *dh;
@@ -227,10 +227,10 @@ $dhinfo = "\n\/\*\n$dhinfo\*\/\n\n";
# generate C source from DH params
my $dhsource = '';
-open(FP, "openssl dh -noout -C -in dh512.pem | indent | expand -8 |") || die;
+open(FP, "openssl dh -noout -C -in dh512.pem | indent | expand |") || die;
$dhsource .= $_ while (<FP>);
close(FP);
-open(FP, "openssl dh -noout -C -in dh1024.pem | indent | expand -8 |") || die;
+open(FP, "openssl dh -noout -C -in dh1024.pem | indent | expand |") || die;
$dhsource .= $_ while (<FP>);
close(FP);
$dhsource =~ s|(DH\s+\*get_dh)|static $1|sg;