git.99rst.org
/
znc-palaver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fca16c6
)
Connect to HTTPS using TLSv2
author
Kyle Fuller
<redacted>
Mon, 10 Aug 2015 22:02:09 +0000
(23:02 +0100)
committer
Kyle Fuller
<redacted>
Mon, 10 Aug 2015 23:29:09 +0000
(
00:29
+0100)
palaver.cpp
patch
|
blob
|
history
diff --git
a/palaver.cpp
b/palaver.cpp
index bcdb00d1da0c930d254bfdb240a1e3f3d65d7fa0..f9d16c214ff0d742b120f584986bbc8b2210f729 100644
(file)
--- a/
palaver.cpp
+++ b/
palaver.cpp
@@
-73,6
+73,8
@@
class PLVHTTPSocket : public CSocket {
public:
PLVHTTPSocket(CModule *pModule, const CString &sMethod, const CString &sURL, MCString &mcsHeaders, const CString &sContent) : CSocket(pModule) {
+ SetSSLMethod(TLS12);
+
m_eState = StatusLine;
unsigned short uPort = 80;
git clone https://git.99rst.org/PROJECT