1da668aa1SThomas Huth /* 2da668aa1SThomas Huth * Copyright (C) 2015-2018 Red Hat, Inc. 3da668aa1SThomas Huth * 4da668aa1SThomas Huth * This library is free software; you can redistribute it and/or 5da668aa1SThomas Huth * modify it under the terms of the GNU Lesser General Public 6da668aa1SThomas Huth * License as published by the Free Software Foundation; either 7da668aa1SThomas Huth * version 2.1 of the License, or (at your option) any later version. 8da668aa1SThomas Huth * 9da668aa1SThomas Huth * This library is distributed in the hope that it will be useful, 10da668aa1SThomas Huth * but WITHOUT ANY WARRANTY; without even the implied warranty of 11da668aa1SThomas Huth * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12da668aa1SThomas Huth * Lesser General Public License for more details. 13da668aa1SThomas Huth * 14da668aa1SThomas Huth * You should have received a copy of the GNU Lesser General Public 15da668aa1SThomas Huth * License along with this library. If not, see 16da668aa1SThomas Huth * <http://www.gnu.org/licenses/>. 17da668aa1SThomas Huth * 18da668aa1SThomas Huth * Author: Richard W.M. Jones <rjones@redhat.com> 19da668aa1SThomas Huth */ 20da668aa1SThomas Huth 21da668aa1SThomas Huth #ifndef TESTS_CRYPTO_TLS_PSK_HELPERS_H 22da668aa1SThomas Huth #define TESTS_CRYPTO_TLS_PSK_HELPERS_H 23da668aa1SThomas Huth 24da668aa1SThomas Huth #include <gnutls/gnutls.h> 25da668aa1SThomas Huth 26da668aa1SThomas Huth void test_tls_psk_init(const char *keyfile); 27*58d25e97SDaniel P. Berrangé void test_tls_psk_init_alt(const char *keyfile); 28da668aa1SThomas Huth void test_tls_psk_cleanup(const char *keyfile); 29da668aa1SThomas Huth 30da668aa1SThomas Huth #endif 31