]> git.meshlink.io Git - meshlink/blobdiff - test/sign-verify.c
Add devclass argument to calls to meshlink_open() in all tests.
[meshlink] / test / sign-verify.c
index 6c7ccfec545488e4a9a91bb12b1a5f4945fc7ae1..028d8021cc76683d593c992853bc3ed6a6c6ea31 100644 (file)
@@ -8,13 +8,13 @@
 int main(int argc, char *argv[]) {
        // Open two new meshlink instance.
 
-       meshlink_handle_t *mesh1 = meshlink_open("sign_verify_conf.1", "foo", "sign-verify");
+       meshlink_handle_t *mesh1 = meshlink_open("sign_verify_conf.1", "foo", "sign-verify", DEV_CLASS_BACKBONE);
        if(!mesh1) {
                fprintf(stderr, "Could not initialize configuration for foo\n");
                return 1;
        }
 
-       meshlink_handle_t *mesh2 = meshlink_open("sign_verify_conf.2", "bar", "sign-verify");
+       meshlink_handle_t *mesh2 = meshlink_open("sign_verify_conf.2", "bar", "sign-verify", DEV_CLASS_BACKBONE);
        if(!mesh2) {
                fprintf(stderr, "Could not initialize configuration for bar\n");
                return 1;