Merge pull request #3567 from mfleisz/file_mode_fix

crypto: Remove unneeded update (+) flag from file open mode
This commit is contained in:
David Fort 2016-10-17 15:34:17 +02:00 committed by GitHub
commit 20344f28a5
1 changed files with 2 additions and 2 deletions

View File

@ -863,7 +863,7 @@ BOOL tls_accept(rdpTls* tls, BIO* underlying, rdpSettings* settings)
if (settings->PrivateKeyFile)
{
bio = BIO_new_file(settings->PrivateKeyFile, "rb+");
bio = BIO_new_file(settings->PrivateKeyFile, "rb");
if (!bio)
{
@ -907,7 +907,7 @@ BOOL tls_accept(rdpTls* tls, BIO* underlying, rdpSettings* settings)
if (settings->CertificateFile)
{
bio = BIO_new_file(settings->CertificateFile, "rb+");
bio = BIO_new_file(settings->CertificateFile, "rb");
if (!bio)
{