| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Nicolas François <[email protected]>, 2008. |
| 5 |
# David Prévot <[email protected]>, 2012-2015. |
| 6 |
# Jean-Paul Guillonneau <[email protected]>, 2014. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 11 |
"PO-Revision-Date: 2015-07-18 20:33+0200\n" |
| 12 |
"Last-Translator: Jean-Paul Guillonneau <[email protected]>\n" |
| 13 |
"Language-Team: French <[email protected]>\n" |
| 14 |
"Language: fr\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 19 |
"X-Generator: Lokalize 1.5\n" |
| 20 |
|
| 21 |
# #-#-#-#-# archlinux: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
# |
| 23 |
#. #-#-#-#-# archlinux: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 24 |
#. Required to disable full justification in groff 1.23.0. |
| 25 |
#. ======================================================================== |
| 26 |
#. type: IX |
| 27 |
#. #-#-#-#-# debian-trixie: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 28 |
#. ======================================================================== |
| 29 |
#. type: IX |
| 30 |
#. #-#-#-#-# debian-unstable: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 31 |
#. ======================================================================== |
| 32 |
#. type: IX |
| 33 |
#: archlinux debian-trixie debian-unstable |
| 34 |
#, no-wrap |
| 35 |
msgid "Title" |
| 36 |
msgstr "" |
| 37 |
|
| 38 |
# |
| 39 |
#. Required to disable full justification in groff 1.23.0. |
| 40 |
#. ======================================================================== |
| 41 |
#. type: IX |
| 42 |
#: archlinux |
| 43 |
#, no-wrap |
| 44 |
msgid "SSL_CTX_SET_GENERATE_SESSION_ID 3ssl" |
| 45 |
msgstr "" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-trixie debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "SSL_CTX_SET_GENERATE_SESSION_ID" |
| 51 |
msgstr "" |
| 52 |
|
| 53 |
#. type: TH |
| 54 |
#: archlinux debian-trixie debian-unstable |
| 55 |
#, no-wrap |
| 56 |
msgid "2026-04-07" |
| 57 |
msgstr "7 avril 2026" |
| 58 |
|
| 59 |
#. type: TH |
| 60 |
#: archlinux debian-unstable |
| 61 |
#, no-wrap |
| 62 |
msgid "3.6.2" |
| 63 |
msgstr "3.6.2" |
| 64 |
|
| 65 |
#. type: TH |
| 66 |
#: archlinux debian-trixie debian-unstable |
| 67 |
#, no-wrap |
| 68 |
msgid "OpenSSL" |
| 69 |
msgstr "OpenSSL" |
| 70 |
|
| 71 |
#. type: SH |
| 72 |
#: archlinux debian-trixie debian-unstable |
| 73 |
#, no-wrap |
| 74 |
msgid "NAME" |
| 75 |
msgstr "NOM" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: archlinux debian-trixie debian-unstable |
| 79 |
#, fuzzy |
| 80 |
#| msgid "" |
| 81 |
#| "SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, " |
| 82 |
#| "SSL_has_matching_session_id - manipulate generation of SSL session IDs " |
| 83 |
#| "(server only)" |
| 84 |
msgid "" |
| 85 |
"SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, " |
| 86 |
"SSL_has_matching_session_id, GEN_SESSION_CB \\&- manipulate generation of " |
| 87 |
"SSL session IDs (server only)" |
| 88 |
msgstr "" |
| 89 |
"SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, " |
| 90 |
"SSL_has_matching_session_id - Contrôler la création d’identifiant de session " |
| 91 |
"SSL (serveur uniquement)" |
| 92 |
|
| 93 |
#. type: IX |
| 94 |
#: archlinux debian-trixie debian-unstable |
| 95 |
#, no-wrap |
| 96 |
msgid "SYNOPSIS" |
| 97 |
msgstr "SYNOPSIS" |
| 98 |
|
| 99 |
#. type: IX |
| 100 |
#: archlinux debian-trixie debian-unstable |
| 101 |
#, no-wrap |
| 102 |
msgid "Header" |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable |
| 107 |
#, fuzzy, no-wrap |
| 108 |
#| msgid "" |
| 109 |
#| " int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);\n" |
| 110 |
#| " int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB, cb);\n" |
| 111 |
#| " int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,\n" |
| 112 |
#| "\t\t\t\t unsigned int id_len);\n" |
| 113 |
#| "\n" |
| 114 |
msgid "" |
| 115 |
"\\& #include E<lt>openssl/ssl.hE<gt>\n" |
| 116 |
"\\&\n" |
| 117 |
"\\& typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,\n" |
| 118 |
"\\& unsigned int *id_len);\n" |
| 119 |
"\\&\n" |
| 120 |
"\\& int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);\n" |
| 121 |
"\\& int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB, cb);\n" |
| 122 |
"\\& int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,\n" |
| 123 |
"\\& unsigned int id_len);\n" |
| 124 |
msgstr "" |
| 125 |
"B< int SSL_CTX_set_generate_session_id(SSL_CTX *>I<ctx>B<, GEN_SESSION_CB> I<cb>B<);>\n" |
| 126 |
" B<int SSL_set_generate_session_id(SSL *>I<ssl>B<, GEN_SESSION_CB,> I<cb>B<);>\n" |
| 127 |
" B<int SSL_has_matching_session_id(const SSL *>I<ssl>B<, const unsigned char *>I<id>B<,>\n" |
| 128 |
" \t\t\t\t B<unsigned int> I<id_long>B<);>\n" |
| 129 |
"\n" |
| 130 |
|
| 131 |
#. type: IX |
| 132 |
#: archlinux debian-trixie debian-unstable |
| 133 |
#, no-wrap |
| 134 |
msgid "DESCRIPTION" |
| 135 |
msgstr "DESCRIPTION" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable |
| 139 |
#, fuzzy |
| 140 |
#| msgid "" |
| 141 |
#| "SSL_CTX_set_generate_session_id() sets the callback function for " |
| 142 |
#| "generating new session ids for SSL/TLS sessions for B<ctx> to be B<cb>." |
| 143 |
msgid "" |
| 144 |
"\\&B<SSL_CTX_set_generate_session_id()> sets the callback function for " |
| 145 |
"generating new session ids for SSL/TLS sessions for B<ctx> to be B<cb>." |
| 146 |
msgstr "" |
| 147 |
"B<SSL_CTX_set_generate_session_id>() définit la fonction de rappel pour la " |
| 148 |
"création d’identifiants de nouvelles sessions SSL/TLS pour I<ctx> à I<cb>." |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable |
| 152 |
#, fuzzy |
| 153 |
#| msgid "" |
| 154 |
#| "SSL_set_generate_session_id() sets the callback function for generating " |
| 155 |
#| "new session ids for SSL/TLS sessions for B<ssl> to be B<cb>." |
| 156 |
msgid "" |
| 157 |
"\\&B<SSL_set_generate_session_id()> sets the callback function for " |
| 158 |
"generating new session ids for SSL/TLS sessions for B<ssl> to be B<cb>." |
| 159 |
msgstr "" |
| 160 |
"B<SSL_CTX_set_generate_session_id>() définit la fonction de rappel pour la " |
| 161 |
"création d’identifiants de nouvelles sessions SSL/TLS pour I<ssl> à I<cb>." |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable |
| 165 |
#, fuzzy |
| 166 |
#| msgid "" |
| 167 |
#| "SSL_has_matching_session_id() checks, whether a session with id B<id> (of " |
| 168 |
#| "length B<id_len>) is already contained in the internal session cache of " |
| 169 |
#| "the parent context of B<ssl>." |
| 170 |
msgid "" |
| 171 |
"\\&B<SSL_has_matching_session_id()> checks, whether a session with id B<id> " |
| 172 |
"(of length B<id_len>) is already contained in the internal session cache of " |
| 173 |
"the parent context of B<ssl>." |
| 174 |
msgstr "" |
| 175 |
"B<SSL_has_matching_session_id>() vérifie si une session d’identifiant I<id> " |
| 176 |
"(de longueur I<id_long>) est déjà contenue dans le cache interne de session " |
| 177 |
"du contexte parent de I<ssl>." |
| 178 |
|
| 179 |
#. type: IX |
| 180 |
#: archlinux debian-trixie debian-unstable |
| 181 |
#, no-wrap |
| 182 |
msgid "NOTES" |
| 183 |
msgstr "NOTES" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable |
| 187 |
#, fuzzy |
| 188 |
#| msgid "" |
| 189 |
#| "When a new session is established between client and server, the server " |
| 190 |
#| "generates a session id. The session id is an arbitrary sequence of " |
| 191 |
#| "bytes. The length of the session id is 16 bytes for SSLv2 sessions and " |
| 192 |
#| "between 1 and 32 bytes for SSLv3/TLSv1. The session id is not security " |
| 193 |
#| "critical but must be unique for the server. Additionally, the session id " |
| 194 |
#| "is transmitted in the clear when reusing the session so it must not " |
| 195 |
#| "contain sensitive information." |
| 196 |
msgid "" |
| 197 |
"When a new session is established between client and server, the server " |
| 198 |
"generates a session id. The session id is an arbitrary sequence of bytes. " |
| 199 |
"The length of the session id is between 1 and 32 bytes. The session id is " |
| 200 |
"not security critical but must be unique for the server. Additionally, the " |
| 201 |
"session id is transmitted in the clear when reusing the session so it must " |
| 202 |
"not contain sensitive information." |
| 203 |
msgstr "" |
| 204 |
"Quand une nouvelle session est établie entre client et serveur, le serveur " |
| 205 |
"crée un identifiant de session. Celui-ci est une séquence arbitraire " |
| 206 |
"d’octets. La longueur de l’identifiant est de 16 octets pour les sessions " |
| 207 |
"SSLv2 et entre 1 et 32 octets pour celles SSLv3/TLSv1. L’identifiant n’est " |
| 208 |
"pas critique pour la sécurité mais doit être unique pour le serveur. De plus " |
| 209 |
"l’identifiant est transmis en clair, aussi ne doit-il pas contenir " |
| 210 |
"d’informations sensibles." |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-trixie debian-unstable |
| 214 |
msgid "" |
| 215 |
"Without a callback being set, an OpenSSL server will generate a unique " |
| 216 |
"session id from pseudo random numbers of the maximum possible length. Using " |
| 217 |
"the callback function, the session id can be changed to contain additional " |
| 218 |
"information like e.g. a host id in order to improve load balancing or " |
| 219 |
"external caching techniques." |
| 220 |
msgstr "" |
| 221 |
"Sans rappel défini, un serveur OpenSSL créera un seul identifiant de session " |
| 222 |
"à partir de nombres pseudo-aléatoires de la longueur la plus grande " |
| 223 |
"possible. En utilisant la fonction de rappel, l’identifiant peut être changé " |
| 224 |
"et contenir des informations supplémentaires, comme par exemple un " |
| 225 |
"identifiant d’hôte pour améliorer la répartition de charge ou les techniques " |
| 226 |
"de cache externe." |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable |
| 230 |
#, fuzzy |
| 231 |
#| msgid "" |
| 232 |
#| "The callback function receives a pointer to the memory location to put " |
| 233 |
#| "B<id> into and a pointer to the maximum allowed length B<id_len>. The " |
| 234 |
#| "buffer at location B<id> is only guaranteed to have the size B<id_len>. " |
| 235 |
#| "The callback is only allowed to generate a shorter id and reduce " |
| 236 |
#| "B<id_len>; the callback B<must never> increase B<id_len> or write to the " |
| 237 |
#| "location B<id> exceeding the given limit." |
| 238 |
msgid "" |
| 239 |
"The callback function receives a pointer to the memory location to put " |
| 240 |
"\\&B<id> into and a pointer to the maximum allowed length B<id_len>. The " |
| 241 |
"buffer at location B<id> is only guaranteed to have the size B<id_len>. The " |
| 242 |
"callback is only allowed to generate a shorter id and reduce B<id_len>; the " |
| 243 |
"callback B<must never> increase B<id_len> or write to the location \\&B<id> " |
| 244 |
"exceeding the given limit." |
| 245 |
msgstr "" |
| 246 |
"La fonction de rappel reçoit un pointeur vers l’emplacement mémoire où " |
| 247 |
"mettre I<id> et un autre vers la longueur maximale admise I<id_long>. Le " |
| 248 |
"tampon à l’emplacement I<id> est seulement sûr d’avoir la taille de " |
| 249 |
"I<id_long>. Le rappel est seulement autorisé à créer un identifiant plus " |
| 250 |
"petit et à réduire I<id_long> ; le rappel B<ne doit jamais> augmenter " |
| 251 |
"I<id_long> ou écrire dans l’emplacement I<id> en dépassant la limite donnée." |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable |
| 255 |
msgid "" |
| 256 |
"The location B<id> is filled with 0x00 before the callback is called, so the " |
| 257 |
"callback may only fill part of the possible length and leave B<id_len> " |
| 258 |
"untouched while maintaining reproducibility." |
| 259 |
msgstr "" |
| 260 |
"L’emplacement I<id> est empli avec des 0x00 avant l’appel du rappel, aussi " |
| 261 |
"le rappel peut seulement remplir une partie de la longueur possible et " |
| 262 |
"laisse I<id_long> inchangé tout en maintenant la reproductibilité." |
| 263 |
|
| 264 |
#. type: Plain text |
| 265 |
#: archlinux debian-trixie debian-unstable |
| 266 |
#, fuzzy |
| 267 |
#| msgid "" |
| 268 |
#| "Since the sessions must be distinguished, session ids must be unique. " |
| 269 |
#| "Without the callback a random number is used, so that the probability of " |
| 270 |
#| "generating the same session id is extremely small (2^128 possible ids for " |
| 271 |
#| "an SSLv2 session, 2^256 for SSLv3/TLSv1). In order to assure the " |
| 272 |
#| "uniqueness of the generated session id, the callback must call " |
| 273 |
#| "SSL_has_matching_session_id() and generate another id if a conflict " |
| 274 |
#| "occurs. If an id conflict is not resolved, the handshake will fail. If " |
| 275 |
#| "the application codes e.g. a unique host id, a unique process number, and " |
| 276 |
#| "a unique sequence number into the session id, uniqueness could easily be " |
| 277 |
#| "achieved without randomness added (it should however be taken care that " |
| 278 |
#| "no confidential information is leaked this way). If the application can " |
| 279 |
#| "not guarantee uniqueness, it is recommended to use the maximum B<id_len> " |
| 280 |
#| "and fill in the bytes not used to code special information with random " |
| 281 |
#| "data to avoid collisions." |
| 282 |
msgid "" |
| 283 |
"Since the sessions must be distinguished, session ids must be unique. " |
| 284 |
"Without the callback a random number is used, so that the probability of " |
| 285 |
"generating the same session id is extremely small (2^256 for SSLv3/TLSv1). " |
| 286 |
"In order to assure the uniqueness of the generated session id, the callback " |
| 287 |
"must call \\&B<SSL_has_matching_session_id()> and generate another id if a " |
| 288 |
"conflict occurs. If an id conflict is not resolved, the handshake will " |
| 289 |
"fail. If the application codes e.g. a unique host id, a unique process " |
| 290 |
"number, and a unique sequence number into the session id, uniqueness could " |
| 291 |
"easily be achieved without randomness added (it should however be taken care " |
| 292 |
"that no confidential information is leaked this way). If the application can " |
| 293 |
"not guarantee uniqueness, it is recommended to use the maximum B<id_len> and " |
| 294 |
"fill in the bytes not used to code special information with random data to " |
| 295 |
"avoid collisions." |
| 296 |
msgstr "" |
| 297 |
"Puisque les sessions doivent pouvoir être distinguées, les identifiants de " |
| 298 |
"session doivent être uniques. En dehors du rappel, un nombre aléatoire est " |
| 299 |
"utilisé, aussi la possibilité de créer un même identifiant est extrêmement " |
| 300 |
"faible (2^128 identifiants possibles pour une session SSLv2 , 2^256 pour " |
| 301 |
"SSLv3/TLSv1). Dans le but d’assurer l’unicité de l’identifiant créé, le " |
| 302 |
"rappel doit appeler B<SSL_has_matching_session_id>() et créer un autre " |
| 303 |
"identifiant si un conflit se produit. Si un conflit d’identifiant apparait, " |
| 304 |
"l’initiation de connexion échouera. Si l’application code par exemple un " |
| 305 |
"identifiant unique d’hôte, un numéro unique de processus et un numéro unique " |
| 306 |
"de suite dans l’identifiant de session, l’unicité peut facilement être " |
| 307 |
"parachevée sans caractères aléatoires ajoutés (en prenant soin qu’aucune " |
| 308 |
"information confidentielle ne puisse être divulguée). Si l’application ne " |
| 309 |
"peut garantir l’unicité, l’utilisation du maximum de I<id_long> est " |
| 310 |
"recommandée ainsi que remplir les octets, non utilisés pour coder une " |
| 311 |
"information particulière, avec des données aléatoires pour éviter un conflit." |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-trixie debian-unstable |
| 315 |
#, fuzzy |
| 316 |
#| msgid "" |
| 317 |
#| "SSL_has_matching_session_id() will only query the internal session cache, " |
| 318 |
#| "not the external one. Since the session id is generated before the " |
| 319 |
#| "handshake is completed, it is not immediately added to the cache. If " |
| 320 |
#| "another thread is using the same internal session cache, a race condition " |
| 321 |
#| "can occur in that another thread generates the same session id. " |
| 322 |
#| "Collisions can also occur when using an external session cache, since the " |
| 323 |
#| "external cache is not tested with SSL_has_matching_session_id() and the " |
| 324 |
#| "same race condition applies." |
| 325 |
msgid "" |
| 326 |
"\\&B<SSL_has_matching_session_id()> will only query the internal session " |
| 327 |
"cache, not the external one. Since the session id is generated before the " |
| 328 |
"handshake is completed, it is not immediately added to the cache. If another " |
| 329 |
"thread is using the same internal session cache, a race condition can occur " |
| 330 |
"in that another thread generates the same session id. Collisions can also " |
| 331 |
"occur when using an external session cache, since the external cache is not " |
| 332 |
"tested with B<SSL_has_matching_session_id()> and the same race condition " |
| 333 |
"applies." |
| 334 |
msgstr "" |
| 335 |
"B<SSL_has_matching_session_id>() interrogera le cache interne de session " |
| 336 |
"mais pas celui externe. Puisque l’identifiant de session est créé avant que " |
| 337 |
"l’initiation ne soit terminée, il n’est pas ajouté immédiatement au cache. " |
| 338 |
"Si un autre processus utilise le même cache interne de session, une " |
| 339 |
"situation de compétition peut survenir si cet autre processus crée le même " |
| 340 |
"identifiant. Des conflits peuvent survenir lors de l’utilisation du cache de " |
| 341 |
"session externe puisque celui-ci n’est pas vérifié avec " |
| 342 |
"B<SSL_has_matching_session_id>(), et la même situation de compétition existe." |
| 343 |
|
| 344 |
#. type: Plain text |
| 345 |
#: archlinux debian-trixie debian-unstable |
| 346 |
msgid "" |
| 347 |
"The callback must return 0 if it cannot generate a session id for whatever " |
| 348 |
"reason and return 1 on success." |
| 349 |
msgstr "" |
| 350 |
"Le rappel doit renvoyer B<0> si un identifiant ne peut être créé pour " |
| 351 |
"n’importe quelle raison et B<1> en cas de réussite." |
| 352 |
|
| 353 |
#. type: IX |
| 354 |
#: archlinux debian-trixie debian-unstable |
| 355 |
#, no-wrap |
| 356 |
msgid "RETURN VALUES" |
| 357 |
msgstr "VALEURS RENVOYÉES" |
| 358 |
|
| 359 |
#. type: Plain text |
| 360 |
#: archlinux debian-trixie debian-unstable |
| 361 |
#, fuzzy |
| 362 |
#| msgid "" |
| 363 |
#| "SSL_CTX_set_generate_session_id() and SSL_set_generate_session_id() " |
| 364 |
#| "always return 1." |
| 365 |
msgid "" |
| 366 |
"\\&B<SSL_CTX_set_generate_session_id()> and B<SSL_set_generate_session_id()> " |
| 367 |
"return 1 on success and 0 for failure." |
| 368 |
msgstr "" |
| 369 |
"B<SSL_CTX_set_generate_session_id>() et B<SSL_set_generate_session_id>() " |
| 370 |
"renvoient B<1>." |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable |
| 374 |
#, fuzzy |
| 375 |
#| msgid "" |
| 376 |
#| "SSL_has_matching_session_id() returns 1 if another session with the same " |
| 377 |
#| "id is already in the cache." |
| 378 |
msgid "" |
| 379 |
"\\&B<SSL_has_matching_session_id()> returns 1 if another session with the " |
| 380 |
"same id is already in the cache, or 0 otherwise." |
| 381 |
msgstr "" |
| 382 |
"B<SSL_has_matching_session_id>() renvoie B<1> si une autre session avec le " |
| 383 |
"même identifiant est déjà dans le cache." |
| 384 |
|
| 385 |
#. type: IX |
| 386 |
#: archlinux debian-trixie debian-unstable |
| 387 |
#, no-wrap |
| 388 |
msgid "EXAMPLES" |
| 389 |
msgstr "EXEMPLES" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-trixie debian-unstable |
| 393 |
msgid "" |
| 394 |
"The callback function listed will generate a session id with the server id " |
| 395 |
"given, and will fill the rest with pseudo random bytes:" |
| 396 |
msgstr "" |
| 397 |
"La fonction de rappel doit créé un identifiant de session avec l’identifiant " |
| 398 |
"de serveur fourni, et compléter le reste avec des octets pseudo-aléatoires." |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable |
| 402 |
#, fuzzy, no-wrap |
| 403 |
#| msgid "" |
| 404 |
#| " do {\n" |
| 405 |
#| " RAND_pseudo_bytes(id, *id_len);\n" |
| 406 |
#| " /* Prefix the session_id with the required prefix. NB: If our\n" |
| 407 |
#| " * prefix is too long, clip it - but there will be worse effects\n" |
| 408 |
#| " * anyway, eg. the server could only possibly create 1 session\n" |
| 409 |
#| " * ID (ie. the prefix!) so all future session negotiations will\n" |
| 410 |
#| " * fail due to conflicts. */\n" |
| 411 |
#| " memcpy(id, session_id_prefix,\n" |
| 412 |
#| " (strlen(session_id_prefix) < *id_len) ?\n" |
| 413 |
#| " strlen(session_id_prefix) : *id_len);\n" |
| 414 |
#| " }\n" |
| 415 |
#| " while(SSL_has_matching_session_id(ssl, id, *id_len) &&\n" |
| 416 |
#| " (++count < MAX_SESSION_ID_ATTEMPTS));\n" |
| 417 |
#| " if(count >= MAX_SESSION_ID_ATTEMPTS)\n" |
| 418 |
#| " return 0;\n" |
| 419 |
#| " return 1;\n" |
| 420 |
#| " }\n" |
| 421 |
#| "\n" |
| 422 |
msgid "" |
| 423 |
"\\& const char session_id_prefix = \"www-18\";\n" |
| 424 |
"\\&\n" |
| 425 |
"\\& #define MAX_SESSION_ID_ATTEMPTS 10\n" |
| 426 |
"\\& static int generate_session_id(SSL *ssl, unsigned char *id,\n" |
| 427 |
"\\& unsigned int *id_len)\n" |
| 428 |
"\\& {\n" |
| 429 |
"\\& unsigned int count = 0;\n" |
| 430 |
"\\&\n" |
| 431 |
"\\& do {\n" |
| 432 |
"\\& RAND_pseudo_bytes(id, *id_len);\n" |
| 433 |
"\\& /*\n" |
| 434 |
"\\& * Prefix the session_id with the required prefix. NB: If our\n" |
| 435 |
"\\& * prefix is too long, clip it - but there will be worse effects\n" |
| 436 |
"\\& * anyway, e.g. the server could only possibly create 1 session\n" |
| 437 |
"\\& * ID (i.e. the prefix!) so all future session negotiations will\n" |
| 438 |
"\\& * fail due to conflicts.\n" |
| 439 |
"\\& */\n" |
| 440 |
"\\& memcpy(id, session_id_prefix, strlen(session_id_prefix) E<lt> *id_len ?\n" |
| 441 |
"\\& strlen(session_id_prefix) : *id_len);\n" |
| 442 |
"\\& } while (SSL_has_matching_session_id(ssl, id, *id_len)\n" |
| 443 |
"\\& && ++count E<lt> MAX_SESSION_ID_ATTEMPTS);\n" |
| 444 |
"\\& if (count E<gt>= MAX_SESSION_ID_ATTEMPTS)\n" |
| 445 |
"\\& return 0;\n" |
| 446 |
"\\& return 1;\n" |
| 447 |
"\\& }\n" |
| 448 |
msgstr "" |
| 449 |
" do {\n" |
| 450 |
" RAND_pseudo_bytes(id, *id_len);\n" |
| 451 |
" /* Préfixer le session_id avec le préfixe demandé.\n" |
| 452 |
" * Avertissement : si le préfixe est trop long, rognez-le\n" |
| 453 |
" * — des effets pervers sont possibles, par exemple,\n" |
| 454 |
" * le serveur peut créer un identifiant de session\n" |
| 455 |
" * (c’est-à-dire le préfixe) de telle sorte que toutes\n" |
| 456 |
" * les négociations de sessions suivante échoueront à\n" |
| 457 |
" * cause des conflits. */\n" |
| 458 |
" memcpy(id, session_id_prefix,\n" |
| 459 |
" (strlen(session_id_prefix) < *id_long) ?\n" |
| 460 |
" strlen(session_id_prefix) : *id_long);\n" |
| 461 |
" }\n" |
| 462 |
" while(SSL_has_matching_session_id(ssl, id, *id_long) &&\n" |
| 463 |
" (++count < MAX_SESSION_ID_ATTEMPTS));\n" |
| 464 |
" if(count >= MAX_SESSION_ID_ATTEMPTS)\n" |
| 465 |
" return 0;\n" |
| 466 |
" return 1;\n" |
| 467 |
" }\n" |
| 468 |
"\n" |
| 469 |
|
| 470 |
#. type: IX |
| 471 |
#: archlinux debian-trixie debian-unstable |
| 472 |
#, no-wrap |
| 473 |
msgid "SEE ALSO" |
| 474 |
msgstr "VOIR AUSSI" |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: archlinux debian-trixie debian-unstable |
| 478 |
#, fuzzy |
| 479 |
#| msgid "L<ssl(3)|ssl(3)>, L<SSL_get_version(3)|SSL_get_version(3)>" |
| 480 |
msgid "\\&B<ssl>\\|(7), B<SSL_get_version>\\|(3)" |
| 481 |
msgstr "L<B<ssl>(3)|ssl(3)>, L<B<SSL_get_version>(3)|SSL_get_version(3)>" |
| 482 |
|
| 483 |
#. type: IX |
| 484 |
#: archlinux debian-trixie debian-unstable |
| 485 |
#, no-wrap |
| 486 |
msgid "COPYRIGHT" |
| 487 |
msgstr "COPYRIGHT" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable |
| 491 |
msgid "Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved." |
| 492 |
msgstr "" |
| 493 |
"Copyright 2001-2020 Les auteurs du projet OpenSSL. Tous droits réservés." |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable |
| 497 |
msgid "" |
| 498 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 499 |
"this file except in compliance with the License. You can obtain a copy in " |
| 500 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 501 |
"www.openssl.org/source/license.htmlE<gt>." |
| 502 |
msgstr "" |
| 503 |
"Sous licence Apache 2.0 (la « Licence »). Vous ne pouvez utiliser ce fichier " |
| 504 |
"que conformément à la Licence. Vous trouverez une copie dans le fichier " |
| 505 |
"\\s-1LICENSE\\s0 de la distribution du source ou à l'adresse E<lt>https://" |
| 506 |
"www.openssl.org/source/license.htmlE<gt>." |
| 507 |
|
| 508 |
#. ======================================================================== |
| 509 |
#. type: IX |
| 510 |
#: debian-trixie debian-unstable |
| 511 |
#, no-wrap |
| 512 |
msgid "SSL_CTX_SET_GENERATE_SESSION_ID 3SSL" |
| 513 |
msgstr "" |
| 514 |
|
| 515 |
#. type: TH |
| 516 |
#: debian-trixie |
| 517 |
#, no-wrap |
| 518 |
msgid "3.5.6" |
| 519 |
msgstr "3.5.6" |