Connect to HTTPS using TLSv2
authorKyle Fuller <redacted>
Mon, 10 Aug 2015 22:02:09 +0000 (23:02 +0100)
committerKyle Fuller <redacted>
Mon, 10 Aug 2015 23:29:09 +0000 (00:29 +0100)
palaver.cpp

index bcdb00d1da0c930d254bfdb240a1e3f3d65d7fa0..f9d16c214ff0d742b120f584986bbc8b2210f729 100644 (file)
@@ -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