diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2014-05-12 18:34:40 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2014-05-12 18:44:26 +0200 |
commit | 2c7d170690de22ce897e1f04dad03dcce2886cf7 (patch) | |
tree | c8709d8dd2417de9f23ec6af271a7b737b925676 /M2Crypto_ext.i | |
parent | a321a519cedad7b6cfdab1088e15f83d1847f166 (diff) | |
download | m2crypto_ext-2c7d170690de22ce897e1f04dad03dcce2886cf7.tar.gz m2crypto_ext-2c7d170690de22ce897e1f04dad03dcce2886cf7.tar.bz2 m2crypto_ext-2c7d170690de22ce897e1f04dad03dcce2886cf7.zip |
add X509_EXTENSION_get_data
Diffstat (limited to 'M2Crypto_ext.i')
-rw-r--r-- | M2Crypto_ext.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/M2Crypto_ext.i b/M2Crypto_ext.i index 6ae8b44..0856215 100644 --- a/M2Crypto_ext.i +++ b/M2Crypto_ext.i @@ -14,3 +14,9 @@ STACK_OF(X509_EXTENSION) *x509_req_get_extensions(X509_REQ *req) { return X509_REQ_get_extensions(req); } %} + +%inline %{ +ASN1_OCTET_STRING *x509_extension_get_data(X509_EXTENSION *ext) { + return X509_EXTENSION_get_data(ext); +} +%} |