Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
7959c669
...
7959c6693b091a59854c10ca28edb4d20eb1e3c2
authored
2004-01-03 15:53:40 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(generate_dh_params): Adapt to GnuTLS >= 1.0.0.
1 parent
aafb4c8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
auth/tls.c
auth/tls.c
View file @
7959c66
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2003 Free Software Foundation, Inc.
Copyright (C) 2003
, 2004
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -215,14 +215,8 @@ mu_deinit_tls_libs (void)
static
void
generate_dh_params
(
void
)
{
gnutls_datum
prime
,
generator
;
gnutls_dh_params_init
(
&
dh_params
);
gnutls_dh_params_generate
(
&
prime
,
&
generator
,
DH_BITS
);
gnutls_dh_params_set
(
dh_params
,
prime
,
generator
,
DH_BITS
);
free
(
prime
.
data
);
free
(
generator
.
data
);
gnutls_dh_params_generate2
(
dh_params
,
DH_BITS
);
}
static
gnutls_session
...
...
@@ -612,7 +606,7 @@ tls_stream_create_client_from_tcp (stream_t *stream, stream_t tcp_str,
return
rc
;
}
#endif
/* WITH_TLS */
/* EOF */
...
...
Please
register
or
sign in
to post a comment