-#include "p5SSLeay.h"
+/*
+** OpenSSL.xs
+*/
+
+#include "openssl.h"
SV *new_ref(type,obj,mort)
char *type;
ret=sv_newmortal();
else
ret=newSViv(0);
+printf(">new_ref %d\n",type);
sv_setref_pv(ret,type,(void *)obj);
return(ret);
}
fprintf(stderr,"ex_new %08X %s\n",obj,argp);
sv=sv_newmortal();
sv_setref_pv(sv,argp,(void *)obj);
+printf("%d>new_ref '%s'\n",sv,argp);
CRYPTO_set_ex_data(ad,idx,(char *)sv);
return(1);
}
SvREFCNT_dec((SV *)data);
}
-MODULE = SSLeay PACKAGE = SSLeay
+MODULE = OpenSSL PACKAGE = OpenSSL
BOOT:
boot_bio();
boot_digest();
boot_err();
boot_ssl();
- boot_SSLeay__BN();
- boot_SSLeay__BIO();
- boot_SSLeay__Cipher();
- boot_SSLeay__MD();
- boot_SSLeay__ERR();
- boot_SSLeay__SSL();
- boot_SSLeay__X509();
+ boot_OpenSSL__BN();
+ boot_OpenSSL__BIO();
+ boot_OpenSSL__Cipher();
+ boot_OpenSSL__MD();
+ boot_OpenSSL__ERR();
+ boot_OpenSSL__SSL();
+ boot_OpenSSL__X509();