summaryrefslogtreecommitdiffstats
path: root/perl/openssl_x509.xs
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-02-10 09:38:31 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-02-10 09:38:31 +0000
commit8073036dd62848b616c6a817c155c3255074ec83 (patch)
tree8ae62e46c555ccc9e65b5dffd43cff25234c96af /perl/openssl_x509.xs
parent0517335e3cdc565edbecb53dec8ef9091c936763 (diff)
Overhauled the Perl interface (perl/*):
- ported BN stuff to OpenSSL's different BN library - made the perl/ source tree CVS-aware - renamed the package from SSLeay to OpenSSL (the files still contain their history because I've copied them in the repository) - removed obsolete files (the test scripts will be replaced by better Test::Harness variants in the future)
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)