aboutsummaryrefslogtreecommitdiffstats
path: root/util/ssleay.num
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-02 10:38:19 +0000
committerRichard Levitte <levitte@openssl.org>2001-03-02 10:38:19 +0000
commit62dc5aad063f50fa75fdae66c4247c925d4b3c5d (patch)
treedcc37b462bcd4ab9ebf47781115d36a98e1d25cf /util/ssleay.num
parent45ecfb19731d0190aecdddc911c710571c50bd67 (diff)
downloadopenssl-62dc5aad063f50fa75fdae66c4247c925d4b3c5d.tar.gz
Introduce the possibility to access global variables through
functions on platform were that's the best way to handle exporting global variables in shared libraries. To enable this functionality, one must configure with "EXPORT_VAR_AS_FN" or defined the C macro "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter is normally done by Configure or something similar). To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL in the source file (foo.c) like this: OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1; OPENSSL_IMPLEMENT_GLOBAL(double,bar); To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL and OPENSSL_GLOBAL_REF in the header file (foo.h) like this: OPENSSL_DECLARE_GLOBAL(int,foo); #define foo OPENSSL_GLOBAL_REF(foo) OPENSSL_DECLARE_GLOBAL(double,bar); #define bar OPENSSL_GLOBAL_REF(bar) The #defines are very important, and therefore so is including the header file everywere where the defined globals are used. The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition of ASN.1 items, but that structure is a bt different. The largest change is in util/mkdef.pl which has been enhanced with better and easier to understand logic to choose which symbols should go into the Windows .def files as well as a number of fixes and code cleanup (among others, algorithm keywords are now sorted lexicographically to avoid constant rewrites).
Diffstat (limited to 'util/ssleay.num')
-rwxr-xr-xutil/ssleay.num6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/ssleay.num b/util/ssleay.num
index c335f90124..bc2c1fc9c2 100755
--- a/util/ssleay.num
+++ b/util/ssleay.num
@@ -21,7 +21,7 @@ SSL_CTX_use_PrivateKey_ASN1 23 EXIST::FUNCTION:
SSL_CTX_use_PrivateKey_file 24 EXIST::FUNCTION:STDIO
SSL_CTX_use_RSAPrivateKey 25 EXIST::FUNCTION:RSA
SSL_CTX_use_RSAPrivateKey_ASN1 26 EXIST::FUNCTION:RSA
-SSL_CTX_use_RSAPrivateKey_file 27 EXIST::FUNCTION:STDIO,RSA
+SSL_CTX_use_RSAPrivateKey_file 27 EXIST::FUNCTION:RSA,STDIO
SSL_CTX_use_certificate 28 EXIST::FUNCTION:
SSL_CTX_use_certificate_ASN1 29 EXIST::FUNCTION:
SSL_CTX_use_certificate_file 30 EXIST::FUNCTION:STDIO
@@ -89,7 +89,7 @@ SSL_use_PrivateKey_ASN1 100 EXIST::FUNCTION:
SSL_use_PrivateKey_file 101 EXIST::FUNCTION:STDIO
SSL_use_RSAPrivateKey 102 EXIST::FUNCTION:RSA
SSL_use_RSAPrivateKey_ASN1 103 EXIST::FUNCTION:RSA
-SSL_use_RSAPrivateKey_file 104 EXIST::FUNCTION:STDIO,RSA
+SSL_use_RSAPrivateKey_file 104 EXIST::FUNCTION:RSA,STDIO
SSL_use_certificate 105 EXIST::FUNCTION:
SSL_use_certificate_ASN1 106 EXIST::FUNCTION:
SSL_use_certificate_file 107 EXIST::FUNCTION:STDIO
@@ -208,7 +208,7 @@ kssl_ctx_free 257 EXIST::FUNCTION:KRB5
kssl_krb5_free_data_contents 258 EXIST::FUNCTION:KRB5
print_krb5_data 259 EXIST::FUNCTION:KRB5
kssl_ctx_setstring 260 EXIST::FUNCTION:KRB5
-SSL_CTX_has_matching_session_id 261 EXIST::FUNCTION:
+SSL_CTX_has_matching_session_id 261 NOEXIST::FUNCTION:
SSL_set_generate_session_id 262 EXIST::FUNCTION:
SSL_CTX_set_generate_session_id 263 EXIST::FUNCTION:
SSL_has_matching_session_id 264 EXIST::FUNCTION: