summaryrefslogtreecommitdiffstats
path: root/M2Crypto_ext.i
diff options
context:
space:
mode:
Diffstat (limited to 'M2Crypto_ext.i')
-rw-r--r--M2Crypto_ext.i6
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);
+}
+%}