]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/ossl_shim/async_bio.cc
Fix invalid function type casts.
[thirdparty/openssl.git] / test / ossl_shim / async_bio.cc
index f0f6a38dbfb258bcb24abff356c3a03031dc0724..cbbabe01eab05571c97a12fcb590f738a0cbb36a 100644 (file)
@@ -118,10 +118,10 @@ static int AsyncFree(BIO *bio) {
   return 1;
 }
 
-static long AsyncCallbackCtrl(BIO *bio, int cmd, bio_info_cb fp) {
-  if (BIO_next(bio) == NULL) {
+static long AsyncCallbackCtrl(BIO *bio, int cmd, BIO_info_cb fp)
+{
+  if (BIO_next(bio) == NULL)
     return 0;
-  }
   return BIO_callback_ctrl(BIO_next(bio), cmd, fp);
 }