summaryrefslogtreecommitdiffstats
path: root/crypto/ui/ui_null.c
blob: f002448d2cd4a989084ae9f79753c29c2f9e1ec7 (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
/*
 * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#include "ui_local.h"

static const UI_METHOD ui_null = {
    "OpenSSL NULL UI",
    NULL,                        /* opener */
    NULL,                        /* writer */
    NULL,                        /* flusher */
    NULL,                        /* reader */
    NULL,                        /* closer */
    NULL
};

/* The method with all the built-in thingies */
const UI_METHOD *UI_null(void)
{
    return &ui_null;
}