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 @@ | |||
58 | #include "compat52.h" | 58 | #include "compat52.h" |
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | #define BIGNUM_CLASS "OpenSSL Bignum" | 61 | #define BIGNUM_CLASS "BIGNUM*" |
62 | #define PUBKEY_CLASS "OpenSSL Pubkey" | 62 | #define PUBKEY_CLASS "EVP_PKEY*" |
63 | #define X509_NAME_CLASS "OpenSSL X.509 Name" | 63 | #define X509_NAME_CLASS "X509_NAME*" |
64 | #define X509_GENS_CLASS "OpenSSL X.509 AltName" | 64 | #define X509_GENS_CLASS "GENERAL_NAMES*" |
65 | #define X509_CERT_CLASS "OpenSSL X.509" | 65 | #define X509_CERT_CLASS "X509*" |
66 | #define X509_CHAIN_CLASS "OpenSSL X.509 Chain" | 66 | #define X509_CHAIN_CLASS "STACK_OF(X509)*" |
67 | #define X509_CSR_CLASS "OpenSSL X.509 Request" | 67 | #define X509_CSR_CLASS "X509_REQ*" |
68 | #define X509_CHAIN_CLASS "OpenSSL X.509 Chain" | 68 | #define X509_STORE_CLASS "X509_STORE*" |
69 | #define X509_STORE_CLASS "OpenSSL X.509 Store" | 69 | #define X509_STCTX_CLASS "X509_STORE_CTX*" |
70 | #define X509_STCTX_CLASS "OpenSSL X.509 Store Context" | 70 | #define SSL_CTX_CLASS "SSL_CTX*" |
71 | #define SSL_CTX_CLASS "OpenSSL SSL Context" | 71 | #define SSL_CLASS "SSL*" |
72 | #define SSL_CLASS "OpenSSL SSL" | 72 | #define DIGEST_CLASS "EVP_MD_CTX" /* not a pointer */ |
73 | #define DIGEST_CLASS "OpenSSL Digest" | 73 | #define HMAC_CLASS "HMAC_CTX" /* not a pointer */ |
74 | #define HMAC_CLASS "OpenSSL HMAC" | 74 | #define CIPHER_CLASS "EVP_CIPHER_CTX" /* not a pointer */ |
75 | #define CIPHER_CLASS "OpenSSL Cipher" | ||
76 | 75 | ||
77 | 76 | ||
78 | #define countof(a) (sizeof (a) / sizeof *(a)) | 77 | #define countof(a) (sizeof (a) / sizeof *(a)) |