Skip to content

Instantly share code, notes, and snippets.

@h-yamamo
Last active May 16, 2022 04:54
Show Gist options
  • Save h-yamamo/eb84154b24ba798b474a219027908cfc to your computer and use it in GitHub Desktop.
Save h-yamamo/eb84154b24ba798b474a219027908cfc to your computer and use it in GitHub Desktop.
Support EVP_AEAD APIs for debian stretch openssl package

Support EVP_AEAD APIs for debian stretch openssl package

For compatibility of applications which use EVP_AEAD APIs, there are a patch and same debian files here.

Your application gets source level compatibility with BoringSSL, LibreSSL and h-yamamo's openssl-chacha20poly1305.

How to build

  • Required packages: packaging-dev, lzip / Preparation: sudo apt-get build-dep openssl
(# in some directory)
git clone --depth 1 https://gist.github.com/h-yamamo/eb84154b24ba798b474a219027908cfc
apt-get -d source openssl
tar xf openssl_1.1.0l.orig.tar.gz
cd openssl-1.1.0l
tar xf ../openssl_1.1.0l-1~deb9u6.debian.tar.xz
tar xvf ../eb84154b24ba798b474a219027908cfc/debian.tlz
(# you may edit debian/changelog and/or something others)
debuild -uc -us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment