Adding getter and setter methods for RSA
authorAnkit Shah <ankshah@fb.com>
Wed, 28 Jun 2017 15:25:32 +0000 (08:25 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 28 Jun 2017 15:40:28 +0000 (08:40 -0700)
commit04cf6b8f5f46d00de45d09774ef0733a2510bb07
treea8cc8294223c9e3766b54772d9778d304f957ddc
parentb0ec99828f0c782a38947513c5e0c242984e269e
Adding getter and setter methods for RSA

Summary:
Added getter and setter methods for the RSA struct in OpenSSL. This is
needed for compatibility between OpenSSl 1.1.0 and other versions.

Reviewed By: yfeldblum

Differential Revision: D5331948

fbshipit-source-id: ab52ffd38bb5e0bd59e058bcbc6ec6122839844e
folly/portability/OpenSSL.cpp
folly/portability/OpenSSL.h
folly/portability/test/OpenSSLPortabilityTest.cpp [new file with mode: 0644]
folly/test/Makefile.am