#include <stdio.h>
#include <stdarg.h>
#include <string.h>
-#include "cryptlib.h"
+#include "internal/cryptlib.h"
#include <openssl/lhash.h>
#include <openssl/crypto.h>
#include <openssl/buffer.h>
{ERR_PACK(ERR_LIB_FIPS, 0, 0), "FIPS routines"},
{ERR_PACK(ERR_LIB_CMS, 0, 0), "CMS routines"},
{ERR_PACK(ERR_LIB_HMAC, 0, 0), "HMAC routines"},
+ {ERR_PACK(ERR_LIB_ASYNC, 0, 0), "ASYNC routines"},
{0, NULL},
};
int_error_hash = lh_ERR_STRING_DATA_new();
CRYPTO_pop_info();
}
- if (int_error_hash)
+ if (int_error_hash != NULL)
ret = int_error_hash;
if (lockit)
CRYPTO_w_unlock(CRYPTO_LOCK_ERR);
int_thread_hash = lh_ERR_STATE_new();
CRYPTO_pop_info();
}
- if (int_thread_hash) {
+ if (int_thread_hash != NULL) {
int_thread_hash_references++;
ret = int_thread_hash;
}