Skip to content

Commit

Permalink
fix min -> max
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Mar 22, 2024
1 parent 147a6fa commit cc5247c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gostssl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,11 @@ static GostSSL_Worker * workers_api( const SSL * s, WORKER_DB_ACTION action, con

int max = TLS1_VERSION;
if( tls_flags & TLS_FLAG_V1_3 )
min = TLS1_3_VERSION;
max = TLS1_3_VERSION;
else if( tls_flags & TLS_FLAG_V1_2 )
min = TLS1_2_VERSION;
max = TLS1_2_VERSION;
else if( tls_flags & TLS_FLAG_V1_1 )
min = TLS1_1_VERSION;
max = TLS1_1_VERSION;

msspi_set_version( w->h, min, max );
}
Expand Down

0 comments on commit cc5247c

Please sign in to comment.