# 
# AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
"POT-Creation-Date: 2013-03-12T03:19:44\n"
"PO-Revision-Date: 2013-03-12T03:19:44\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
"Content-Type: application/x-publican; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. Tag: programlisting
#, no-c-format
msgid "\n"
"static void __attribute__((noreturn))\n"
"ssl_print_error_and_exit(SSL *ssl, const char *op, int ret)\n"
"{\n"
"  int subcode = SSL_get_error(ssl, ret);\n"
"  switch (subcode) {\n"
"  case SSL_ERROR_NONE:\n"
"    fprintf(stderr, \"error: %s: no error to report\n"
"\", op);\n"
"    break;\n"
"  case SSL_ERROR_WANT_READ:\n"
"  case SSL_ERROR_WANT_WRITE:\n"
"  case SSL_ERROR_WANT_X509_LOOKUP:\n"
"  case SSL_ERROR_WANT_CONNECT:\n"
"  case SSL_ERROR_WANT_ACCEPT:\n"
"    fprintf(stderr, \"error: %s: invalid blocking state %d\n"
"\", op, subcode);\n"
"    break;\n"
"  case SSL_ERROR_SSL:\n"
"    fprintf(stderr, \"error: %s: TLS layer problem\n"
"\", op);\n"
"  case SSL_ERROR_SYSCALL:\n"
"    fprintf(stderr, \"error: %s: system call failed: %s\n"
"\", op, strerror(errno));\n"
"    break;\n"
"  case SSL_ERROR_ZERO_RETURN:\n"
"    fprintf(stderr, \"error: %s: zero return\n"
"\", op);\n"
"  }\n"
"  exit(1);\n"
"}\n"
""
msgstr ""

