Modify ossl_method_store_add() to accept an OSSL_PROVIDER and check for it
[openssl.git] / include / internal / core.h
index bd2f9a0989d8149707dc05d973b5ce14d8cfc5af..a40d3c69aff1231990234f269f1d82adfaaac094 100644 (file)
@@ -37,8 +37,8 @@ typedef struct ossl_method_construct_method_st {
                  void *data);
     /* Store a method in a store */
     int (*put)(OPENSSL_CTX *libctx, void *store, void *method,
-               int operation_id, const char *name, const char *propdef,
-               void *data);
+               const OSSL_PROVIDER *prov, int operation_id, const char *name,
+               const char *propdef, void *data);
     /* Construct a new method */
     void *(*construct)(const char *name, const OSSL_DISPATCH *fns,
                        OSSL_PROVIDER *prov, void *data);