ocserv: handle RSA-PSS and ed25519 key types when compiled with gnutls 3.6.0

That is, enhance the security module to accept and understand
more elaborate signing commands.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2017-08-23 10:10:42 +02:00
parent aaf2c0265f
commit af2a64df2f
4 changed files with 198 additions and 4 deletions

View File

@@ -80,6 +80,9 @@ typedef enum {
CMD_SEC_AUTH_REPLY,
CMD_SEC_DECRYPT,
CMD_SEC_SIGN,
CMD_SEC_SIGN_DATA,
CMD_SEC_SIGN_HASH,
CMD_SEC_GET_PK,
CMD_SEC_CLI_STATS,
/* from main to sec-mod and vice versa */