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
9678b650
...
9678b6507b9fe113340caade06135154eda7ec86
authored
2003-01-22 13:11:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Include stdlib.h
1 parent
700a91d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
auth/tls.c
auth/tls.c
View file @
9678b65
...
...
@@ -20,6 +20,7 @@
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -147,7 +148,7 @@ mu_init_tls_libs (void)
return
!
gnutls_global_init
();
/* Returns 1 on success */
}
int
void
mu_deinit_tls_libs
(
void
)
{
gnutls_global_deinit
();
...
...
@@ -300,7 +301,6 @@ _tls_write (stream_t stream, const char *iptr, size_t isize,
static
int
_tls_flush
(
stream_t
stream
)
{
struct
_tls_stream
*
s
=
stream_get_owner
(
stream
);
/* noop */
return
0
;
}
...
...
@@ -314,6 +314,7 @@ _tls_close (stream_t stream)
gnutls_bye
(
s
->
session
,
GNUTLS_SHUT_RDWR
);
s
->
state
=
state_closed
;
}
return
0
;
}
static
int
...
...
Please
register
or
sign in
to post a comment