Move the registration of callback functions to special functions
[openssl.git] / ssl / s3_enc.c
index fd0edf2895c39a438907a3bce80d8860d5474410..f340fc5d5f55de6955d87aca93c026c5f333f1b1 100644 (file)
@@ -300,7 +300,7 @@ int ssl3_setup_key_block(SSL *s)
 
        ssl3_cleanup_key_block(s);
 
-       if ((p=(unsigned char *)Malloc(num)) == NULL)
+       if ((p=Malloc(num)) == NULL)
                goto err;
 
        s->s3->tmp.key_block_length=num;