Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix nightly manual

This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.

NAME

DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data — add application specific data to DH structures

SYNOPSIS

#include <openssl/dh.h>
int
DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
int
DH_set_ex_data(DH *d, int idx, void *arg);
char *
DH_get_ex_data(DH *d, int idx);

DESCRIPTION

These functions handle application specific data in DH structures. Their usage is identical to that of RSA_get_ex_new_index(3), RSA_set_ex_data(3), and RSA_get_ex_data(3).

SEE ALSO

DH_new(3), RSA_get_ex_new_index(3)

HISTORY

DH_get_ex_new_index(), DH_set_ex_data(), and DH_get_ex_data() first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7.
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org