diff options
-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); +} +%} |