summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/engine_stubs.c
blob: bd031e49f071102bb51266af656519f0c84b602d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/*	$OpenBSD: engine_stubs.c,v 1.3 2023/11/19 15:47:40 tb Exp $ */

/*
 * Written by Theo Buehler. Public domain.
 */

#include <openssl/engine.h>

void
ENGINE_load_builtin_engines(void)
{
}

void
ENGINE_load_dynamic(void)
{
}

void
ENGINE_load_openssl(void)
{
}

int
ENGINE_register_all_complete(void)
{
	return 0;
}

void
ENGINE_cleanup(void)
{
}

ENGINE *
ENGINE_new(void)
{
	return NULL;
}

int
ENGINE_free(ENGINE *engine)
{
	return 0;
}

int
ENGINE_init(ENGINE *engine)
{
	return 0;
}

int
ENGINE_finish(ENGINE *engine)
{
	return 0;
}

ENGINE *
ENGINE_by_id(const char *id)
{
	return NULL;
}

const char *
ENGINE_get_id(const ENGINE *engine)
{
	return "";
}

const char *
ENGINE_get_name(const ENGINE *engine)
{
	return "";
}

int
ENGINE_set_default(ENGINE *engine, unsigned int flags)
{
	return 0;
}

ENGINE *
ENGINE_get_default_RSA(void)
{
	return NULL;
}

int
ENGINE_set_default_RSA(ENGINE *engine)
{
	return 0;
}

int
ENGINE_ctrl_cmd(ENGINE *engine, const char *cmd_name, long i, void *p,
    void (*f)(void), int cmd_optional)
{
	return 0;
}

int
ENGINE_ctrl_cmd_string(ENGINE *engine, const char *cmd, const char *arg,
    int cmd_optional)
{
	return 0;
}

EVP_PKEY *
ENGINE_load_private_key(ENGINE *engine, const char *key_id,
    UI_METHOD *ui_method, void *callback_data)
{
	return NULL;
}

EVP_PKEY *
ENGINE_load_public_key(ENGINE *engine, const char *key_id,
    UI_METHOD *ui_method, void *callback_data)
{
	return NULL;
}