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