From: Wilfried Göesgens Date: Tue, 22 Jun 2010 21:11:59 +0000 (+0000) Subject: * CtdlIPCStartEncryption(): though its return value is documented to be always one... X-Git-Tag: v7.86~141 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=ab72716e077f29a75ce0be64f84a910de565e5ba;p=citadel.git * CtdlIPCStartEncryption(): though its return value is documented to be always one, use it to silence a warning. --- diff --git a/citadel/utillib/citadel_ipc.c b/citadel/utillib/citadel_ipc.c index d16606f8e..bfef117d5 100644 --- a/citadel/utillib/citadel_ipc.c +++ b/citadel/utillib/citadel_ipc.c @@ -2095,7 +2095,7 @@ int CtdlIPCStartEncryption(CtdlIPC *ipc, char *cret) } ipc->ssl = temp_ssl; - BIO_set_close(ipc->ssl->rbio, BIO_NOCLOSE); + if (BIO_set_close(ipc->ssl->rbio, BIO_NOCLOSE)) { int bits, alg_bits;