diff options
author | William Ahern <william@server.local> | 2013-12-09 20:12:43 -0800 |
---|---|---|
committer | William Ahern <william@server.local> | 2013-12-09 20:12:43 -0800 |
commit | e42cc7815ff3c948c4ab4e2782da2a2cb4f476bf (patch) | |
tree | 57352ba5cc202c1fb47c41d1cac9d5aca58ef4b5 | |
parent | aadabeca7be135fef72758c65fc0eb377e7890b5 (diff) | |
download | luaossl-e42cc7815ff3c948c4ab4e2782da2a2cb4f476bf.tar.gz luaossl-e42cc7815ff3c948c4ab4e2782da2a2cb4f476bf.tar.bz2 luaossl-e42cc7815ff3c948c4ab4e2782da2a2cb4f476bf.zip |
-n
update openssl metatable names in preparation for a split away from cqueues
-rw-r--r-- | openssl.c | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -58,21 +58,20 @@ #include "compat52.h" #endif -#define BIGNUM_CLASS "OpenSSL Bignum" -#define PUBKEY_CLASS "OpenSSL Pubkey" -#define X509_NAME_CLASS "OpenSSL X.509 Name" -#define X509_GENS_CLASS "OpenSSL X.509 AltName" -#define X509_CERT_CLASS "OpenSSL X.509" -#define X509_CHAIN_CLASS "OpenSSL X.509 Chain" -#define X509_CSR_CLASS "OpenSSL X.509 Request" -#define X509_CHAIN_CLASS "OpenSSL X.509 Chain" -#define X509_STORE_CLASS "OpenSSL X.509 Store" -#define X509_STCTX_CLASS "OpenSSL X.509 Store Context" -#define SSL_CTX_CLASS "OpenSSL SSL Context" -#define SSL_CLASS "OpenSSL SSL" -#define DIGEST_CLASS "OpenSSL Digest" -#define HMAC_CLASS "OpenSSL HMAC" -#define CIPHER_CLASS "OpenSSL Cipher" +#define BIGNUM_CLASS "BIGNUM*" +#define PUBKEY_CLASS "EVP_PKEY*" +#define X509_NAME_CLASS "X509_NAME*" +#define X509_GENS_CLASS "GENERAL_NAMES*" +#define X509_CERT_CLASS "X509*" +#define X509_CHAIN_CLASS "STACK_OF(X509)*" +#define X509_CSR_CLASS "X509_REQ*" +#define X509_STORE_CLASS "X509_STORE*" +#define X509_STCTX_CLASS "X509_STORE_CTX*" +#define SSL_CTX_CLASS "SSL_CTX*" +#define SSL_CLASS "SSL*" +#define DIGEST_CLASS "EVP_MD_CTX" /* not a pointer */ +#define HMAC_CLASS "HMAC_CTX" /* not a pointer */ +#define CIPHER_CLASS "EVP_CIPHER_CTX" /* not a pointer */ #define countof(a) (sizeof (a) / sizeof *(a)) |