OLD | NEW |
1 /* | 1 /* |
2 * null_auth.c | 2 * null_auth.c |
3 * | 3 * |
4 * implements the do-nothing auth algorithm | 4 * implements the do-nothing auth algorithm |
5 * | 5 * |
6 * David A. McGrew | 6 * David A. McGrew |
7 * Cisco Systems, Inc. | 7 * Cisco Systems, Inc. |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 37 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
38 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 38 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
39 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 39 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
40 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 40 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
41 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 41 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
42 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 42 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
43 * OF THE POSSIBILITY OF SUCH DAMAGE. | 43 * OF THE POSSIBILITY OF SUCH DAMAGE. |
44 * | 44 * |
45 */ | 45 */ |
46 | 46 |
| 47 #ifdef HAVE_CONFIG_H |
| 48 #include <config.h> |
| 49 #endif |
47 | 50 |
48 #include "null_auth.h" | 51 #include "null_auth.h" |
49 #include "alloc.h" | 52 #include "alloc.h" |
50 | 53 |
51 /* null_auth uses the auth debug module */ | 54 /* null_auth uses the auth debug module */ |
52 | 55 |
53 extern debug_module_t mod_auth; | 56 extern debug_module_t mod_auth; |
54 | 57 |
55 err_status_t | 58 err_status_t |
56 null_auth_alloc(auth_t **a, int key_len, int out_len) { | 59 null_auth_alloc(auth_t **a, int key_len, int out_len) { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 (auth_compute_func) null_auth_compute, | 156 (auth_compute_func) null_auth_compute, |
154 (auth_update_func) null_auth_update, | 157 (auth_update_func) null_auth_update, |
155 (auth_start_func) null_auth_start, | 158 (auth_start_func) null_auth_start, |
156 (char *) null_auth_description, | 159 (char *) null_auth_description, |
157 (int) 0, /* instance count */ | 160 (int) 0, /* instance count */ |
158 (auth_test_case_t *) &null_auth_test_case_0, | 161 (auth_test_case_t *) &null_auth_test_case_0, |
159 (debug_module_t *) NULL, | 162 (debug_module_t *) NULL, |
160 (auth_type_id_t) NULL_AUTH | 163 (auth_type_id_t) NULL_AUTH |
161 }; | 164 }; |
162 | 165 |
OLD | NEW |