repo.or.cz
/
ghsmtp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
accept more TLS versions, ignore zero return
[ghsmtp.git]
/
TLS-OpenSSL-test.cpp
blob
32d6b988d18d8bf810c45021d359480c2546bbc8
1
#include
"TLS-OpenSSL.hpp"
2
3
#include <glog/logging.h>
4
5
#include <iostream>
6
7
int
main
(
int
argc
,
char
*
argv
[])
8
{
9
auto
const
read_hook
= []() {};
10
TLS
tls
(
read_hook
);
11
12
std
::
cout
<<
"sizeof(TLS) == "
<<
sizeof
(
TLS
) <<
'
\n
'
;
13
}