Compare commits
11 Commits
a61744fcb1
...
34453331f8
Author | SHA1 | Date |
---|---|---|
AMajor-C | 34453331f8 | |
Ilya Shipitsin | c76f11a523 | |
siddharth-narayan | 25585a1e3d | |
siddharth-narayan | 4370efcc90 | |
AMajor-C | 8e8cb4d4f3 | |
AMajor-C | 9b97568dc9 | |
AMajor-C | aeb9330ddb | |
AMajor-C | 48b536d732 | |
AMajor-C | 3087e03e0c | |
AMajor-C | 619ca3d915 | |
AMajor-C | 36c018b1d9 |
|
@ -25,7 +25,7 @@ jobs:
|
|||
submodules: true
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
dnf -y install git cmake ncurses-devel openssl-devel libsodium-devel readline-devel zlib-devel gcc-c++ clang
|
||||
dnf -y install git cmake ncurses-devel openssl-devel-engine libsodium-devel readline-devel zlib-devel gcc-c++ clang
|
||||
- name: Compile with ${{ matrix.cc }}
|
||||
run: |
|
||||
export CC=${{ matrix.cc }}
|
||||
|
|
|
@ -2103,7 +2103,7 @@ void StopL2TPThread(L2TP_SERVER *l2tp, L2TP_TUNNEL *t, L2TP_SESSION *s)
|
|||
// Interrupt processing of L2TP server
|
||||
void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
||||
{
|
||||
UINT i, j;
|
||||
UINT i, j, k;
|
||||
LIST *delete_tunnel_list = NULL;
|
||||
// Validate arguments
|
||||
if (l2tp == NULL)
|
||||
|
@ -2138,9 +2138,9 @@ void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
|||
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
||||
|
||||
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
||||
for (i = 0; i < LIST_NUM(t->SessionList); i++)
|
||||
for (k = 0; k < LIST_NUM(t->SessionList); k++)
|
||||
{
|
||||
L2TP_SESSION* s = LIST_DATA(t->SessionList, i);
|
||||
L2TP_SESSION* s = LIST_DATA(t->SessionList, k);
|
||||
|
||||
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
||||
{
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
#include <openssl/ssl.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/rand.h>
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
#include <openssl/engine.h>
|
||||
#endif
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/pkcs7.h>
|
||||
|
|
Loading…
Reference in New Issue