]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/store.h
Don't hold a lock when calling a callback in ossl_namemap_doall_names
[thirdparty/openssl.git] / include / openssl / store.h
index ae0aaa26d12301008ce80c710e18a8fca692ff1b..304532bde38e9c8f301c888d9fa522dc80432cc5 100644 (file)
@@ -266,9 +266,9 @@ void OSSL_STORE_LOADER_do_all_provided(OSSL_LIB_CTX *libctx,
                                        void (*fn)(OSSL_STORE_LOADER *loader,
                                                   void *arg),
                                        void *arg);
-void OSSL_STORE_LOADER_names_do_all(const OSSL_STORE_LOADER *loader,
-                                    void (*fn)(const char *name, void *data),
-                                    void *data);
+int OSSL_STORE_LOADER_names_do_all(const OSSL_STORE_LOADER *loader,
+                                   void (*fn)(const char *name, void *data),
+                                   void *data);
 
 /*-
  *  Function to register a loader for the given URI scheme.