Fix source where indent will not be able to cope
[oweals/openssl.git] / crypto / bio / bss_rtcp.c
index 7dae4855640645615f03c533250a2bb9b6f96b6b..c65cff442fa7e52946bc977a3570727b072b1b98 100644 (file)
@@ -56,7 +56,8 @@
  * [including the GNU Public Licence.]
  */
 
-/* Written by David L. Jones <jonesd@kcgl1.eng.ohio-state.edu>
+/*-
+ * Written by David L. Jones <jonesd@kcgl1.eng.ohio-state.edu>
  * Date:   22-JUL-1996
  * Revised: 25-SEP-1997                Update for 0.8.1, BIO_CTRL_SET -> BIO_C_SET_FD
  */
@@ -157,6 +158,8 @@ static int rtcp_new(BIO *bi)
        bi->num=0;
        bi->flags = 0;
        bi->ptr=OPENSSL_malloc(sizeof(struct rpc_ctx));
+       if (bi->ptr == NULL)
+               return(0);
        ctx = (struct rpc_ctx *) bi->ptr;
        ctx->filled = 0;
        ctx->pos = 0;