]> www.tinc-vpn.org Git - tinc/blobdiff - src/protocol_auth.c
Use void pointers for opaque data blobs in the SPTPS code.
[tinc] / src / protocol_auth.c
index 84aece0fdfd489d3142f97d8dd2042f2e413e9fd..cd45deb79d99c67fd5d699b086aa07ecf005cec3 100644 (file)
@@ -198,7 +198,7 @@ static bool finalize_invitation(connection_t *c, const char *data, uint16_t len)
        return true;
 }
 
        return true;
 }
 
-static bool receive_invitation_sptps(void *handle, uint8_t type, const char *data, uint16_t len) {
+static bool receive_invitation_sptps(void *handle, uint8_t type, const void *data, uint16_t len) {
        connection_t *c = handle;
 
        if(type == 128)
        connection_t *c = handle;
 
        if(type == 128)