# AUTHOR <EMAIL@ADDRESS>, YEAR.
# 
# Translators:
# Jérôme Fenal <jfenal@gmail.com>, 2013
msgid ""
msgstr ""
"Project-Id-Version: Defensive Coding Guide\n"
"POT-Creation-Date: 2013-03-12T03:19:44\n"
"PO-Revision-Date: 2013-03-24 17:40+0000\n"
"Last-Translator: Jérôme Fenal <jfenal@gmail.com>\n"
"Language-Team: French <trans-fr@lists.fedoraproject.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. Tag: programlisting
#, no-c-format
msgid ""
"\n"
"// Send the close_notify alert.\n"
"ret = SSL_shutdown(ssl);\n"
"switch (ret) {\n"
"case 1:\n"
"  // A close_notify alert has already been received.\n"
"  break;\n"
"case 0:\n"
"  // Wait for the close_notify alert from the peer.\n"
"  ret = SSL_shutdown(ssl);\n"
"  switch (ret) {\n"
"  case 0:\n"
"    fprintf(stderr, \"info: second SSL_shutdown returned zero\n"
"\");\n"
"    break;\n"
"  case 1:\n"
"    break;\n"
"  default:\n"
"    ssl_print_error_and_exit(ssl, \"SSL_shutdown 2\", ret);\n"
"  }\n"
"  break;\n"
"default:\n"
"  ssl_print_error_and_exit(ssl, \"SSL_shutdown 1\", ret);\n"
"}\n"
"SSL_free(ssl);\n"
"close(sockfd);\n"
msgstr "\n// Envoie l'alerte close_notify.\nret = SSL_shutdown(ssl);\nswitch (ret) {\ncase 1:\n  // Une alerte close_notify a déjà été reçue.\n  break;\ncase 0:\n  // Attend l'alerte close_notify de la contrepartie.\n  ret = SSL_shutdown(ssl);\n  switch (ret) {\n  case 0:\n    fprintf(stderr, \"info: second SSL_shutdown returned zero\n\");\n    break;\n  case 1:\n    break;\n  default:\n    ssl_print_error_and_exit(ssl, \"SSL_shutdown 2\", ret);\n  }\n  break;\ndefault:\n  ssl_print_error_and_exit(ssl, \"SSL_shutdown 1\", ret);\n}\nSSL_free(ssl);\nclose(sockfd);\n"
