3

Recently I got a mail from Google asking me to update OpenSSL or else my application would be blocked. They mentioned the steps to check OpenSSl version which I did and found that my things like MD5 SHA(encryption Algo's) are using version 1.0.1h.

My Question is how can I update these as I'm using latest JDK already and these are part of that only. Please suggest what should I do?

MD4 part of OpenSSL 1.0.1h 5 Jun 2014
MD5 part of OpenSSL 1.0.1h 5 Jun 2014
RC2 part of OpenSSL 1.0.1h 5 Jun 2014
RIPE-MD160 part of OpenSSL 1.0.1h 5 Jun 2014
SHA1 part of OpenSSL 1.0.1h 5 Jun 2014
SHA-256 part of OpenSSL 1.0.1h 5 Jun 2014
SHA-512 part of OpenSSL 1.0.1h 5 Jun 2014
DlSHA part of OpenSSL 1.0.1h 5 Jun 2014

IDE: Android Studio 2.0 buildToolsVersion "21.1.2" com.android.tools.build:gradle:1.3.0 JDK 1.8

Ankit Khare
  • 1,345
  • 11
  • 30
  • 1
    See [Google Play and OpenSSL warning message](http://stackoverflow.com/q/24197777) and [Update Android app to latest version of OpenSSL](http://stackoverflow.com/q/30122019), perhaps that helps. – Jonas Czech May 05 '16 at 08:07
  • Will try this. But these are part of JDK I don't think this will help. – Ankit Khare May 05 '16 at 08:22
  • @Sinistro - You are down level for both Android Studio and its Gradle. – jww May 05 '16 at 10:31
  • I know but, this is not the reason for this issue.. is it? – Ankit Khare May 05 '16 at 10:41
  • @Jww I saw your answer http://stackoverflow.com/questions/30122019/update-android-app-to-latest-version-of-openssl Will this work on windows? – Ankit Khare May 05 '16 at 10:45
  • @Sinistro - Go to [Grep for Windows](http://gnuwin32.sourceforge.net/packages/grep.htm) and install it in `%SYSTEM%` or `%SYSTEM32%` so its on path. Then, for each dev directory you have, issue `grep -IR '1.0.1' `. A dev directory is your IDE directory, source code directory, SDK directories, etc. It will tell you where OpenSSL 1.0.1h is coming from. Then, update it. You might be able to do it with Windows Search. But I find Windows Search is more trouble than its worth because it only wants to search for Pictures and Music in My Documents. Its hard to do anything useful with it. – jww May 05 '16 at 10:52
  • 3
    It's probably because one of your dependencies is adding OpenSSL as a dependency, and an older version. What libraries are you using? – kleinsenberg May 12 '16 at 16:49

2 Answers2

1
Finally got the answer for this
 1. Update Android Studio to 2.1.1 i.e. latest
 2. Update build tools wrapper etc all kinds of tools.
 3. Update all your libraries in my case major issue was from this side
 4. Clean build after this and you are good to go.
 5. Check again for OpenSSL version and now you are up-to-date.
Ankit Khare
  • 1,345
  • 11
  • 30
0

Update SDK, NDK and all other third party libraries you have used in your application.

Biswajit Karmakar
  • 9,799
  • 4
  • 39
  • 41