Don't try to use zero-byte buffers.
[openssl.git] / crypto / crypto.h
index 0582759e765736f218ddadb2294b3de1808327f1..8297b7d0c7b6ac9d0c36bf91f309e09f7fa44cb5 100644 (file)
@@ -70,6 +70,10 @@ extern "C" {
 #include <openssl/stack.h>
 #include <openssl/opensslv.h>
 
+#ifdef CHARSET_EBCDIC
+#include <openssl/ebcdic.h>
+#endif
+
 /* Backward compatibility to SSLeay */
 /* This is more to be used to check the correct DLL is being used
  * in the MS world. */
@@ -103,9 +107,11 @@ extern "C" {
 #define        CRYPTO_LOCK_RAND                17
 #define        CRYPTO_LOCK_MALLOC              18
 #define        CRYPTO_LOCK_BIO                 19
-#define        CRYPTO_LOCK_BIO_GETHOSTBYNAME   20
-#define        CRYPTO_LOCK_RSA_BLINDING        21
-#define        CRYPTO_NUM_LOCKS                22
+#define        CRYPTO_LOCK_GETHOSTBYNAME       20
+#define        CRYPTO_LOCK_GETSERVBYNAME       21
+#define        CRYPTO_LOCK_READDIR             22
+#define        CRYPTO_LOCK_RSA_BLINDING        23
+#define        CRYPTO_NUM_LOCKS                24
 
 #define CRYPTO_LOCK            1
 #define CRYPTO_UNLOCK          2