libfreerdp/core/certificate: open key file for reading only
authorKOVACS Krisztian <hidden@balabit.com>
Thu, 28 Sep 2017 12:00:18 +0000 (14:00 +0200)
committerKOVACS Krisztian <hidden@balabit.com>
Thu, 9 Nov 2017 15:54:22 +0000 (16:54 +0100)
commitc13c9035eb86e332cc75f77cdc18c2464f6340d1
treefc61ba86e64030920e486f19d5b58d96a922690e
parent5189814930a32c42532e2c62593fb0ed3d144b6c
libfreerdp/core/certificate: open key file for reading only

There's no point in writing the key file for read-write, and it makes it
impossible to run the shadow server with the key file being read only.
libfreerdp/core/certificate.c