mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-12 18:54:58 +03:00
Compare commits
15 Commits
5.02.5185
...
34453331f8
Author | SHA1 | Date | |
---|---|---|---|
34453331f8 | |||
c76f11a523 | |||
25585a1e3d | |||
4370efcc90 | |||
b8fbb3e3d8 | |||
98a8d5249d | |||
dd2a53e049 | |||
7ce9c088ff | |||
8e8cb4d4f3 | |||
9b97568dc9 | |||
aeb9330ddb | |||
48b536d732 | |||
3087e03e0c | |||
619ca3d915 | |||
36c018b1d9 |
3
.github/workflows/fedora-rawhide.yml
vendored
3
.github/workflows/fedora-rawhide.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 25 * *"
|
- cron: "0 0 25 * *"
|
||||||
push:
|
push:
|
||||||
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@ -24,7 +25,7 @@ jobs:
|
|||||||
submodules: true
|
submodules: true
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
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 }}
|
- name: Compile with ${{ matrix.cc }}
|
||||||
run: |
|
run: |
|
||||||
export CC=${{ matrix.cc }}
|
export CC=${{ matrix.cc }}
|
||||||
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10)
|
|||||||
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
||||||
|
|
||||||
if ("${BUILD_NUMBER}" STREQUAL "")
|
if ("${BUILD_NUMBER}" STREQUAL "")
|
||||||
set(BUILD_NUMBER "5185")
|
set(BUILD_NUMBER "5186")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_NUMBER LESS 5180)
|
if (BUILD_NUMBER LESS 5180)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"environments": [ { "BuildNumber": "5185" } ],
|
"environments": [ { "BuildNumber": "5186" } ],
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "x64-native",
|
"name": "x64-native",
|
||||||
|
@ -2103,7 +2103,7 @@ void StopL2TPThread(L2TP_SERVER *l2tp, L2TP_TUNNEL *t, L2TP_SESSION *s)
|
|||||||
// Interrupt processing of L2TP server
|
// Interrupt processing of L2TP server
|
||||||
void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
||||||
{
|
{
|
||||||
UINT i, j;
|
UINT i, j, k;
|
||||||
LIST *delete_tunnel_list = NULL;
|
LIST *delete_tunnel_list = NULL;
|
||||||
// Validate arguments
|
// Validate arguments
|
||||||
if (l2tp == NULL)
|
if (l2tp == NULL)
|
||||||
@ -2138,9 +2138,9 @@ void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
|||||||
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
||||||
|
|
||||||
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
// 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)
|
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,9 @@
|
|||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
#ifndef OPENSSL_NO_ENGINE
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
|
#endif
|
||||||
#include <openssl/bio.h>
|
#include <openssl/bio.h>
|
||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
#include <openssl/pkcs7.h>
|
#include <openssl/pkcs7.h>
|
||||||
|
Reference in New Issue
Block a user