diff options
author | Richard Levitte <levitte@openssl.org> | 2019-06-14 10:27:30 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-06-17 11:38:11 +0200 |
commit | bb751e1108675d5ac30af9047b182905b8cc232b (patch) | |
tree | 081fae6c32422ccac8def7e553e9976040eea594 /providers/common | |
parent | e7706e63e6226c26699062a6d68fc97bed528a6f (diff) |
Replumbing: Adapt the FIPS module to use the library context upcall
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9160)
Diffstat (limited to 'providers/common')
-rw-r--r-- | providers/common/include/internal/provider_ctx.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/providers/common/include/internal/provider_ctx.h b/providers/common/include/internal/provider_ctx.h new file mode 100644 index 0000000000..365667d19e --- /dev/null +++ b/providers/common/include/internal/provider_ctx.h @@ -0,0 +1,14 @@ +/* + * Copyright 2019 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 + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + +/* + * To be used anywhere the library context needs to be passed, such as to + * fetching functions. + */ +#define PROV_LIBRARY_CONTEXT_OF(provctx) (provctx) |