# Do I need to build OpenSSL myself with v4.4.1?

**URL:** <https://discuss.zetetic.net/t/do-i-need-to-build-openssl-myself-with-v4-4-1/6407>\
**Category:** SQLCipher\
**Created:** [April 19, 2024, 8:51pm UTC](https://discuss.zetetic.net/t/do-i-need-to-build-openssl-myself-with-v4-4-1/6407 "2024-04-19T20:51:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MinaK](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/minak/32/2215_2.png) [@MinaK](https://discuss.zetetic.net/u/MinaK)\
**Post date:** [April 19, 2024, 8:51pm UTC](https://discuss.zetetic.net/t/do-i-need-to-build-openssl-myself-with-v4-4-1/6407/1 "2024-04-19T20:51:59Z")

</div>

I am using the community edition android-database-sqlcipher to encrypt the DB in my Android application. In the process, I noticed that OpenSSL is not included in v4.4.1 and later.

In [v4.4.0](https://github.com/sqlcipher/android-database-sqlcipher/tree/v4.4.0/android-database-sqlcipher/src/main/external), the external directory contains the OpenSSL source code.  
In [v4.4.1](https://github.com/sqlcipher/android-database-sqlcipher/tree/v4.4.1/android-database-sqlcipher/src/main), the external directory itself is missing.

When using v4.4.1 or later versions, do I have to use the `make` command as described below?

> **[GitHub - sqlcipher/android-database-sqlcipher: Android SQLite API based on...](https://github.com/sqlcipher/android-database-sqlcipher?tab=readme-ov-file#building)**
>
> Android SQLite API based on SQLCipher. Contribute to sqlcipher/android-database-sqlcipher development by creating an account on GitHub.

I especially want to make sure that if I don’t use `make` command, will the DB be encrypted?

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [April 19, 2024, 9:21pm UTC](https://discuss.zetetic.net/t/do-i-need-to-build-openssl-myself-with-v4-4-1/6407/2 "2024-04-19T21:21:10Z")

</div>

Hi @MinaK,

You will need to provide your own build of OpenSSL to link against when building versions of `android-database-sqlcipher`, or preferably `sqlcipher-android` as `android-database-sqlcipher` has been deprecated. A `Makefile` is used for orchestrating some of the build. Do you have a specific need to build the library yourself?

---

<div class="post-metadata">

**Author:** ![MinaK](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/minak/32/2215_2.png) [@MinaK](https://discuss.zetetic.net/u/MinaK)\
**Post date:** [April 21, 2024, 10:39pm UTC](https://discuss.zetetic.net/t/do-i-need-to-build-openssl-myself-with-v4-4-1/6407/3 "2024-04-21T22:39:21Z")

</div>

Thank you for your answer.

Do I need to build it myself if I include the implementation “net.zetetic:android-database-sqlcipher:4.4.1” in build.gradle? In other words, can I skip the step of using this `make` command?

If so, how do I find out what version of OpenSSL is being used in community edition?

---

<div class="post-metadata">

**Author:** ![developernotes](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/developernotes/32/1309_2.png) [@developernotes](https://discuss.zetetic.net/u/developernotes)\
**Post date:** [April 23, 2024, 6:49pm UTC](https://discuss.zetetic.net/t/do-i-need-to-build-openssl-myself-with-v4-4-1/6407/4 "2024-04-23T18:49:16Z")

</div>

Hi @MinaK,

The Community distribution of `android-database-sqlcipher` would include the OpenSSL libraries. Please note that `android-database-sqlcipher` has been deprecated in favor of `sqlcipher-android`.
