Latest update.
This commit is contained in:
@@ -157,7 +157,8 @@ typedef struct ossl_ex_data_global_st {
|
||||
# define OPENSSL_CTX_FIPS_PROV_INDEX 9
|
||||
# define OPENSSL_CTX_SERIALIZER_STORE_INDEX 10
|
||||
# define OPENSSL_CTX_SELF_TEST_CB_INDEX 11
|
||||
# define OPENSSL_CTX_MAX_INDEXES 12
|
||||
# define OPENSSL_CTX_BIO_PROV_INDEX 12
|
||||
# define OPENSSL_CTX_MAX_INDEXES 13
|
||||
|
||||
typedef struct openssl_ctx_method {
|
||||
void *(*new_func)(OPENSSL_CTX *ctx);
|
||||
@@ -238,5 +239,6 @@ static ossl_inline void ossl_sleep(unsigned long millis)
|
||||
|
||||
char *sk_ASN1_UTF8STRING2text(STACK_OF(ASN1_UTF8STRING) *text, const char *sep,
|
||||
size_t max_len);
|
||||
char *ipaddr_to_asc(unsigned char *p, int len);
|
||||
|
||||
#endif
|
||||
@@ -118,9 +118,9 @@ void ffc_params_get_validate_params(const FFC_PARAMS *params,
|
||||
int ffc_params_copy(FFC_PARAMS *dst, const FFC_PARAMS *src);
|
||||
int ffc_params_cmp(const FFC_PARAMS *a, const FFC_PARAMS *b, int ignore_q);
|
||||
|
||||
#ifndef FIPS_MODE
|
||||
#ifndef FIPS_MODULE
|
||||
int ffc_params_print(BIO *bp, const FFC_PARAMS *ffc, int indent);
|
||||
#endif /* FIPS_MODE */
|
||||
#endif /* FIPS_MODULE */
|
||||
|
||||
|
||||
int ffc_params_FIPS186_4_generate(OPENSSL_CTX *libctx, FFC_PARAMS *params,
|
||||
|
||||
@@ -26,6 +26,8 @@ OSSL_PROPERTY_LIST *ossl_parse_query(OPENSSL_CTX *ctx, const char *s);
|
||||
/* Property checker of query vs definition */
|
||||
int ossl_property_match_count(const OSSL_PROPERTY_LIST *query,
|
||||
const OSSL_PROPERTY_LIST *defn);
|
||||
int ossl_property_is_enabled(OPENSSL_CTX *ctx, const char *property_name,
|
||||
const OSSL_PROPERTY_LIST *prop_list);
|
||||
/* Free a parsed property list */
|
||||
void ossl_property_free(OSSL_PROPERTY_LIST *p);
|
||||
|
||||
@@ -43,6 +45,10 @@ int ossl_method_store_fetch(OSSL_METHOD_STORE *store, int nid,
|
||||
const char *prop_query, void **result);
|
||||
int ossl_method_store_set_global_properties(OSSL_METHOD_STORE *store,
|
||||
const char *prop_query);
|
||||
int ossl_method_store_merge_global_properties(OSSL_METHOD_STORE *store,
|
||||
const char *prop_query);
|
||||
int ossl_method_store_global_property_is_enabled(OSSL_METHOD_STORE *store,
|
||||
const char *prop_name);
|
||||
|
||||
/* property query cache functions */
|
||||
int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, int nid,
|
||||
|
||||
@@ -154,9 +154,9 @@ struct servent *PASCAL getservbyname(const char *, const char *);
|
||||
|
||||
/* also in apps/include/apps.h */
|
||||
# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE)
|
||||
# define openssl_fdset(a,b) FD_SET((unsigned int)a, b)
|
||||
# define openssl_fdset(a, b) FD_SET((unsigned int)(a), b)
|
||||
# else
|
||||
# define openssl_fdset(a,b) FD_SET(a, b)
|
||||
# define openssl_fdset(a, b) FD_SET(a, b)
|
||||
# endif
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@@ -15,7 +15,7 @@
|
||||
* OPENSSL_CTX object. In this way data will get cleaned up correctly when the
|
||||
* module gets unloaded.
|
||||
*/
|
||||
#if !defined(FIPS_MODE) || defined(ALLOW_RUN_ONCE_IN_FIPS)
|
||||
#if !defined(FIPS_MODULE) || defined(ALLOW_RUN_ONCE_IN_FIPS)
|
||||
/*
|
||||
* DEFINE_RUN_ONCE: Define an initialiser function that should be run exactly
|
||||
* once. It takes no arguments and returns and int result (1 for success or
|
||||
@@ -143,4 +143,4 @@
|
||||
# define RUN_ONCE_ALT(once, initalt, init) \
|
||||
(CRYPTO_THREAD_run_once(once, initalt##_ossl_) ? init##_ossl_ret_ : 0)
|
||||
|
||||
#endif /* FIPS_MODE */
|
||||
#endif /* FIPS_MODULE */
|
||||
Reference in New Issue
Block a user