Skip to content

Commit

Permalink
lib-unittests: added file bsock_vert_verify_common_names_test
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 17, 2018
1 parent 2fda2bf commit 7e71b67
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/lib/unittests/CMakeLists.txt
Expand Up @@ -56,7 +56,7 @@ set_property(TEST test_lib
add_dependencies(check test_lib)

add_executable(test_bsock
bsock_test.cc bsock_constructor_test.cc
bsock_test.cc bsock_constructor_test.cc bsock_cert_verify_common_names_test.cc
)
target_link_libraries(test_bsock
bareos
Expand Down
28 changes: 28 additions & 0 deletions core/src/lib/unittests/bsock_cert_verify_common_names_test.cc
@@ -0,0 +1,28 @@
/*
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2018-2018 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
License as published by the Free Software Foundation and included
in the file LICENSE.
This program 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
Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/

#include "gtest/gtest.h"
#include "include/bareos.h"

TEST(bsock, tls_cert_verify_common_names_test)
{

}

0 comments on commit 7e71b67

Please sign in to comment.