Skip to content

Instantly share code, notes, and snippets.

@user454322
Created September 12, 2014 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save user454322/7cb415e41cbebf3238e6 to your computer and use it in GitHub Desktop.
Save user454322/7cb415e41cbebf3238e6 to your computer and use it in GitHub Desktop.
Find out which OpenSSL version is used in each version of Android
#!/bin/sh
#git clone https://android.googlesource.com/platform/external/openssl
for ANDROID_TAG in $(git ls-remote --tags| colrm 1 48| grep -v "\^{}")
do
git checkout "$ANDROID_TAG"
OPENSSL_V="$(cat openssl.version)"
echo "[$OPENSSL_V] - [$ANDROID_TAG]" >> openssl.versions
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment