* CtdlIPCStartEncryption(): though its return value is documented to be always one...
authorWilfried Göesgens <willi@citadel.org>
Tue, 22 Jun 2010 21:11:59 +0000 (21:11 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 22 Jun 2010 21:11:59 +0000 (21:11 +0000)
citadel/utillib/citadel_ipc.c

index d16606f8e5f6d3016dc1cfc8a77c530dff5c87d8..bfef117d5582d6a6ab3ff1912a37eafdcd968939 100644 (file)
@@ -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;