summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--M2Crypto_ext.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/M2Crypto_ext.i b/M2Crypto_ext.i
index afacb0a..fb4565c 100644
--- a/M2Crypto_ext.i
+++ b/M2Crypto_ext.i
@@ -1,16 +1,16 @@
%module M2Crypto_ext
-%include <openssl/safestack.h>
%include "constraints.i"
%{
#include <openssl/x509.h>
+typedef STACK_OF(X509_EXTENSION) X509_EXTENSION_STACK;
%}
%apply Pointer NONNULL { X509_REQ * };
%inline %{
-STACK_OF(X509_EXTENSION) *x509_req_get_extensions(X509_REQ *req) {
+X509_EXTENSION_STACK *x509_req_get_extensions(X509_REQ *req) {
return X509_REQ_get_extensions(req);
}
%}