gnutls_oprfi_enable_client(3) API function


#include <gnutls/gnutls.h>

void gnutls_oprfi_enable_client(gnutls_session_t session, size_t len, unsigned char * data);


gnutls_session_t session
is a gnutls_session_t structure.
size_t len
length of Opaque PRF data to use in client.
unsigned char * data
Opaque PRF data to use in client.


Request that the client should attempt to negotiate the Opaque PRF Input TLS extension, using the given data as the client's Opaque PRF input.

The data is copied into the session context after this call, so you may de-allocate it immediately after calling this function.


Report bugs to <[email protected]>. GnuTLS home page: General help using GNU software:


Copyright © 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.