ssli_openssl.c:161: s/bool/bool_t/
authorAndres Erbsen <andres@krutt.org>
Wed, 15 Jul 2015 06:08:12 +0000 (23:08 -0700)
committerAndres Erbsen <andres@krutt.org>
Wed, 15 Jul 2015 06:08:12 +0000 (23:08 -0700)
To be consistent with existing code (and require less patches on OpenBSD).

src/ssli_openssl.c

index 65a21deab05b09296e4f6cc1b03e701a234c4259..de081fa8dac69a61ed0bae4f50122a45ade326c0 100644 (file)
@@ -158,7 +158,7 @@ static void SSL_initializeCert() {
        char *key = (char *)getStrConf(KEY);
 
        if (context) {
-               bool did_load_cert = SSL_CTX_use_certificate_chain_file(context, crt);
+               bool_t did_load_cert = SSL_CTX_use_certificate_chain_file(context, crt);
                rsa = SSL_readprivatekey(key);
 
                if (!rsa || !did_load_cert) {