Files
wolfssl/tests/api/test_ossl_x509_name.h
Sean Parkinson 0b2fb66af6 api.c: Split out more functions
wolfSSL_PEM, wolfSSL_X509, wolfSSL_X509_NAME, wolfSSL_X509_PUBKEY API
testing moved out to separate files.
2025-12-11 15:32:09 +10:00

43 lines
1.8 KiB
C

/* test_ossl_x509_name.h
*
* Copyright (C) 2006-2025 wolfSSL Inc.
*
* This file is part of wolfSSL.
*
* wolfSSL is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* wolfSSL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/
#ifndef WOLFCRYPT_TEST_OSSL_X509_NAME_H
#define WOLFCRYPT_TEST_OSSL_X509_NAME_H
#include <tests/api/api_decl.h>
int test_wolfSSL_X509_NAME_get_entry(void);
int test_wolfSSL_X509_NAME(void);
int test_wolfSSL_X509_NAME_hash(void);
int test_wolfSSL_X509_NAME_print_ex(void);
int test_wolfSSL_X509_NAME_ENTRY(void);
int test_wolfSSL_X509_NAME_ENTRY_get_object(void);
#define TEST_OSSL_X509_NAME_DECLS \
TEST_DECL_GROUP("ossl_x509_name", test_wolfSSL_X509_NAME_get_entry), \
TEST_DECL_GROUP("ossl_x509_name", test_wolfSSL_X509_NAME), \
TEST_DECL_GROUP("ossl_x509_name", test_wolfSSL_X509_NAME_hash), \
TEST_DECL_GROUP("ossl_x509_name", test_wolfSSL_X509_NAME_print_ex), \
TEST_DECL_GROUP("ossl_x509_name", test_wolfSSL_X509_NAME_ENTRY), \
TEST_DECL_GROUP("ossl_x509_name", test_wolfSSL_X509_NAME_ENTRY_get_object)
#endif /* WOLFCRYPT_TEST_OSSL_X509_NAME_H */