[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] Re: Set the priority of the key exchange algorithms on the
From: |
Simon Josefsson |
Subject: |
[Help-gnutls] Re: Set the priority of the key exchange algorithms on the server |
Date: |
Wed, 17 Dec 2008 00:01:29 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
liuxiaoyu <address@hidden> writes:
> Hi,
>
> I am using gnutls 2.6.2. I am wondering if we can set the priority of the key
> exchange algorithms on the server.
>
> For example, if client adds some RSA-based ciphersuites as well as some
> PSK-based ciphersuites to the ClientHello message, how can I make the server
> to select the PSK-based ciphersuite?
>
> I noticed gnutls_kx_set_priority() only works on the client, is that ture? So
> how can I set the priority of the key exchange algorithms on the server?
No, it should work in servers too, and is the recommended way to handle
this.
/Simon