summaryrefslogtreecommitdiffstats
path: root/perl/openssl_x509.xs
diff options
context:
space:
mode:
Diffstat (limited to 'perl/openssl_x509.xs')
-rw-r--r--perl/openssl_x509.xs7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl/openssl_x509.xs b/perl/openssl_x509.xs
index 67633ad225..008d959c64 100644
--- a/perl/openssl_x509.xs
+++ b/perl/openssl_x509.xs
@@ -1,6 +1,7 @@
-#include "p5SSLeay.h"
-MODULE = SSLeay::X509 PACKAGE = SSLeay::X509 PREFIX = p5_X509_
+#include "openssl.h"
+
+MODULE = OpenSSL::X509 PACKAGE = OpenSSL::X509 PREFIX = p5_X509_
PROTOTYPES: ENABLE
VERSIONCHECK: DISABLE
@@ -15,7 +16,7 @@ p5_X509_new(void )
EXTEND(sp,1);
PUSHs(sv_newmortal());
x509=X509_new();
- sv_setref_pv(ST(0),"SSLeay::X509",(void *)x509);
+ sv_setref_pv(ST(0),"OpenSSL::X509",(void *)x509);
char *
p5_X509_get_subject_name(x509)