Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,24 @@ this package is released.

## Dependencies

* The local kernel must have net/handshake support and be built with
CONFIG_TLS enabled
* The local build environment requires GnuTLS and keyutils
### Run-time dependencies

The kernel must have net/handshake support (v6.5 or later) and be
built with the following CONFIG options enabled:

* CONFIG_TLS
* CONFIG_KEYS
* CONFIG_KEYS_REQUEST_CACHE

### Build dependencies

The build environment requires the development packages for the
following libraries to be installed:

* GnuTLS
* keyutils
* GLib-2.0
* libnl3

## Installation

Expand Down
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,24 @@ this package is released.

## Dependencies

* The local kernel must have net/handshake support and be built with
CONFIG_TLS enabled
* The local build environment requires GnuTLS and keyutils
### Run-time dependencies

The kernel must have net/handshake support (v6.5 or later) and be
built with the following CONFIG options enabled:

* CONFIG_TLS
* CONFIG_KEYS
* CONFIG_KEYS_REQUEST_CACHE

### Build dependencies

The build environment requires the development packages for the
following libraries to be installed:

* GnuTLS
* keyutils
* GLib-2.0
* libnl3

## Installation

Expand Down
2 changes: 0 additions & 2 deletions src/tlshd/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,6 @@ static int tlshd_server_x509_verify_function(gnutls_session_t session,
return GNUTLS_E_CERTIFICATE_ERROR;
}
peerid = tlshd_keyring_create_cert(cert, parms->peername);
if (peerid == TLS_NO_PEERID)
peerid = UINT_MAX;
g_array_append_val(parms->remote_peerids, peerid);
gnutls_x509_crt_deinit(cert);
}
Expand Down