Skip to content

Commit

Permalink
remove access function, windows compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
DBL2017 committed Apr 26, 2024
1 parent 9c8afe1 commit b5352bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SSLSocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static int SSLSocket_certificate_verify_cb(int preverify_ok, X509_STORE_CTX *x50
goto exit;
}

if (opts->publicKey == NULL || strlen(opts->publicKey) <= 0 || access(opts->publicKey, R_OK) != 0)
if (opts->publicKey == NULL || strlen(opts->publicKey) <= 0 )
{
Log(TRACE_MIN, -1, "Error opts pubKey invalid");
goto exit;
Expand Down

0 comments on commit b5352bc

Please sign in to comment.