1*0e2e28bcSchristos /* 2*0e2e28bcSchristos * Copyright 2019-2023 The OpenSSL Project Authors. All Rights Reserved. 3*0e2e28bcSchristos * 4*0e2e28bcSchristos * Licensed under the Apache License 2.0 (the "License"). You may not use 5*0e2e28bcSchristos * this file except in compliance with the License. You can obtain a copy 6*0e2e28bcSchristos * in the file LICENSE in the source distribution or at 7*0e2e28bcSchristos * https://www.openssl.org/source/license.html 8*0e2e28bcSchristos */ 9*0e2e28bcSchristos 10*0e2e28bcSchristos /* 11*0e2e28bcSchristos * This is the most minimal provider imaginable. It can be loaded, and does 12*0e2e28bcSchristos * absolutely nothing else. 13*0e2e28bcSchristos */ 14*0e2e28bcSchristos 15*0e2e28bcSchristos #include <openssl/core.h> 16*0e2e28bcSchristos 17*0e2e28bcSchristos OSSL_provider_init_fn OSSL_provider_init; /* Check the function signature */ OSSL_provider_init(const OSSL_CORE_HANDLE * handle,const OSSL_DISPATCH * oin,const OSSL_DISPATCH ** out,void ** provctx)18*0e2e28bcSchristosint OSSL_provider_init(const OSSL_CORE_HANDLE *handle, 19*0e2e28bcSchristos const OSSL_DISPATCH *oin, 20*0e2e28bcSchristos const OSSL_DISPATCH **out, 21*0e2e28bcSchristos void **provctx) 22*0e2e28bcSchristos { 23*0e2e28bcSchristos return 1; 24*0e2e28bcSchristos } 25