.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .if n .ds AD l .\" .\" Required to disable full justification in groff 1.23.0. .\" ======================================================================== .\" .IX Title "DH_NEW 3ssl" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH DH_NEW 3ssl "27 janvier 2026" 3.6.1 OpenSSL .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH NOM DH_new, DH_free \- Allouer et libérer des objets DH .SH SYNOPSIS .IX Header SYNOPSIS .Vb 1 \& #include .Ve .PP Les fonctions suivantes sont obsolètes depuis OpenSSL 3.0 et peuvent être cachées complètement en définissant \fBOPENSSL_API_COMPAT\fP avec une valeur de version appropriée, voir \fBopenssl_user_macros\fP\|(7) : .PP .Vb 1 \& DH* DH_new(void); \& \& void DH_free(DH *dh); .Ve .SH DESCRIPTION .IX Header DESCRIPTION \&\fBDH_new()\fP allocates and initializes a \fBDH\fP structure. .PP \&\fBDH_free()\fP frees the \fBDH\fP structure and its components. The values are erased before the memory is returned to the system. If \fBdh\fP is NULL nothing is done. .SH "VALEURS RENVOYÉES" .IX Header "VALEURS RENVOYÉES" If the allocation fails, \fBDH_new()\fP returns \fBNULL\fP and sets an error code that can be obtained by \fBERR_get_error\fP\|(3). Otherwise it returns a pointer to the newly allocated structure. .PP \&\fBDH_free()\fP returns no value. .SH "VOIR AUSSI" .IX Header "VOIR AUSSI" \&\fBDH_new\fP\|(3), \fBERR_get_error\fP\|(3), \&\fBDH_generate_parameters\fP\|(3), \&\fBDH_generate_key\fP\|(3), \&\fBEVP_PKEY\-DH\fP\|(7) .SH HISTORIQUE .IX Header HISTORIQUE Toutes ces fonctions sont obsolètes depuis OpenSSL 3.0. .PP For replacement see \fBEVP_PKEY\-DH\fP\|(7). .SH COPYRIGHT .IX Header COPYRIGHT Copyright 2000\-2016 Les auteurs du projet OpenSSL. Tous droits réservés. .PP Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier que conformément à la Licence. Vous trouverez une copie dans le fichier \s-1LICENSE\s0 de la distribution du source ou à l'adresse . .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par arne, Nicolas François et David Prévot . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .