From 2c7d170690de22ce897e1f04dad03dcce2886cf7 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 12 May 2014 18:34:40 +0200 Subject: add X509_EXTENSION_get_data --- M2Crypto_ext.i | 6 ++++++ 1 file changed, 6 insertions(+) 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); +} +%} -- cgit v1.2.3-1-g7c22