]> jfr.im git - solanum.git/commit
openssl: change how we load DH parameters
authorAaron Jones <redacted>
Wed, 25 May 2016 21:46:34 +0000 (21:46 +0000)
committerAaron Jones <redacted>
Wed, 25 May 2016 21:46:34 +0000 (21:46 +0000)
commit3057f91d9818260e44ac9792fe37d1fcc6ad5c14
treebcf78713f247a4528db811f7b42d75a39d5a390c
parent0982871a9992e58c9a9e0bd1aedbff3e0e0d8877
openssl: change how we load DH parameters

The code already assumes the presence of fopen(3) and errno, and, by
extension, fclose(3) and strerror(3), so just use those instead of the
BIO wrappers.

Additionally, don't fail to initialise if the DH file does exist but
parsing it fails, as per the pre-existing comment about them being
optional.
librb/src/openssl.c