Removed non-Defensive Coding Guide bits and promoted source to root
This commit is contained in:
parent
9eb72b454b
commit
9dc8a003e5
402 changed files with 0 additions and 2049 deletions
31
pot/Features/snippets/TLS-Client-OpenSSL-Connection-Use.pot
Normal file
31
pot/Features/snippets/TLS-Client-OpenSSL-Connection-Use.pot
Normal file
|
@ -0,0 +1,31 @@
|
|||
#
|
||||
# AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 0\n"
|
||||
"POT-Creation-Date: 2013-08-13T01:54:52\n"
|
||||
"PO-Revision-Date: 2013-08-13T01:54:52\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"
|
||||
"const char *const req = \"GET / HTTP/1.0\\r\n"
|
||||
"\\r\n"
|
||||
"\";\n"
|
||||
"if (SSL_write(ssl, req, strlen(req)) < 0) {\n"
|
||||
" ssl_print_error_and_exit(ssl, \"SSL_write\", ret);\n"
|
||||
"}\n"
|
||||
"char buf[4096];\n"
|
||||
"ret = SSL_read(ssl, buf, sizeof(buf));\n"
|
||||
"if (ret < 0) {\n"
|
||||
" ssl_print_error_and_exit(ssl, \"SSL_read\", ret);\n"
|
||||
"}\n"
|
||||
""
|
||||
msgstr ""
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue