# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:19+0200\n" "PO-Revision-Date: 2026-05-31 18:55+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" # #-#-#-#-# archlinux: BIO_f_ssl.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: BIO_f_ssl.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: BIO_f_ssl.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: BIO_f_ssl.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "Title" #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "BIO_F_SSL 3ssl" msgstr "BIO_F_SSL 3ssl" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "BIO_F_SSL" msgstr "BIO_F_SSL" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "7 أبريل 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "3.6.2" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "OpenSSL" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "BIO_do_handshake, BIO_f_ssl, BIO_set_ssl, BIO_get_ssl, BIO_set_ssl_mode, " "BIO_set_ssl_renegotiate_bytes, BIO_get_num_renegotiates, " "BIO_set_ssl_renegotiate_timeout, BIO_new_ssl, BIO_new_ssl_connect, " "BIO_new_buffer_ssl_connect, BIO_ssl_copy_session_id, BIO_ssl_shutdown - SSL " "BIO" msgstr "" "BIO_do_handshake, BIO_f_ssl, BIO_set_ssl, BIO_get_ssl, BIO_set_ssl_mode, " "BIO_set_ssl_renegotiate_bytes, BIO_get_num_renegotiates, " "BIO_set_ssl_renegotiate_timeout, BIO_new_ssl, BIO_new_ssl_connect, " "BIO_new_buffer_ssl_connect, BIO_ssl_copy_session_id, BIO_ssl_shutdown - SSL " "BIO" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "Header" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/bio.hE\n" "\\& #include Eopenssl/ssl.hE\n" "\\&\n" "\\& const BIO_METHOD *BIO_f_ssl(void);\n" "\\&\n" "\\& long BIO_set_ssl(BIO *b, SSL *ssl, long c);\n" "\\& long BIO_get_ssl(BIO *b, SSL **sslp);\n" "\\& long BIO_set_ssl_mode(BIO *b, long client);\n" "\\& long BIO_set_ssl_renegotiate_bytes(BIO *b, long num);\n" "\\& long BIO_set_ssl_renegotiate_timeout(BIO *b, long seconds);\n" "\\& long BIO_get_num_renegotiates(BIO *b);\n" "\\&\n" "\\& BIO *BIO_new_ssl(SSL_CTX *ctx, int client);\n" "\\& BIO *BIO_new_ssl_connect(SSL_CTX *ctx);\n" "\\& BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);\n" "\\& int BIO_ssl_copy_session_id(BIO *to, BIO *from);\n" "\\& void BIO_ssl_shutdown(BIO *bio);\n" "\\&\n" "\\& long BIO_do_handshake(BIO *b);\n" msgstr "" "\\& #include Eopenssl/bio.hE\n" "\\& #include Eopenssl/ssl.hE\n" "\\&\n" "\\& const BIO_METHOD *BIO_f_ssl(void);\n" "\\&\n" "\\& long BIO_set_ssl(BIO *b, SSL *ssl, long c);\n" "\\& long BIO_get_ssl(BIO *b, SSL **sslp);\n" "\\& long BIO_set_ssl_mode(BIO *b, long client);\n" "\\& long BIO_set_ssl_renegotiate_bytes(BIO *b, long num);\n" "\\& long BIO_set_ssl_renegotiate_timeout(BIO *b, long seconds);\n" "\\& long BIO_get_num_renegotiates(BIO *b);\n" "\\&\n" "\\& BIO *BIO_new_ssl(SSL_CTX *ctx, int client);\n" "\\& BIO *BIO_new_ssl_connect(SSL_CTX *ctx);\n" "\\& BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);\n" "\\& int BIO_ssl_copy_session_id(BIO *to, BIO *from);\n" "\\& void BIO_ssl_shutdown(BIO *bio);\n" "\\&\n" "\\& long BIO_do_handshake(BIO *b);\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the SSL BIO method. This is a filter BIO which is " "a wrapper round the OpenSSL SSL routines adding a BIO \"flavour\" to SSL I/O." msgstr "" "\\&B تُرجع طريقة SSL BIO. هذه BIO مرشحة وهي غلاف حول روتينات " "OpenSSL SSL تُضيف \"نكهة\" BIO إلى إدخال/إخراج SSL." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "I/O performed on an SSL BIO communicates using the SSL protocol with the " "SSLs read and write BIOs. If an SSL connection is not established then an " "attempt is made to establish one on the first I/O call." msgstr "" "الإدخال/الإخراج المُنفَّذ على SSL BIO يتواصل باستخدام بروتوكول SSL مع BIOs " "القراءة والكتابة الخاصة بـ SSL. إذا لم يُؤسَّس اتصال SSL، يُبذل جهد لتأسيسه عند " "أول استدعاء إدخال/إخراج." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If a BIO is appended to an SSL BIO using B it is automatically " "used as the SSL BIOs read and write BIOs." msgstr "" "إذا أُلحقت BIO بـ SSL BIO باستخدام B، تُستخدم آليًا كـ BIOs القراءة " "والكتابة الخاصة بـ SSL BIO." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Calling B on an SSL BIO closes down any current SSL connection " "by calling B. B is then sent to the next BIO in " "the chain: this will typically disconnect the underlying transport. The SSL " "BIO is then reset to the initial accept or connect state." msgstr "" "استدعاء B على SSL BIO يُغلق أي اتصال SSL حالي باستدعاء " "B. ثم يُرسل B إلى BIO التالية في السلسلة: هذا " "عادةً يفصل النقل الأساسي. ثم يُعاد تعيين SSL BIO إلى حالة القبول أو الاتصال " "الأولية." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If the close flag is set when an SSL BIO is freed then the internal SSL " "structure is also freed using B." msgstr "" "إذا ضُبط علم الإغلاق عند تحرير SSL BIO، يُحرر أيضًا الهيكل الداخلي SSL باستخدام " "B." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the internal SSL pointer of SSL BIO B to B " "using the close flag B." msgstr "" "\\&B يضبط المؤشر الداخلي SSL لـ SSL BIO B إلى B " "باستخدام علم الإغلاق B." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B retrieves the SSL pointer of SSL BIO B, it can then " "be manipulated using the standard SSL library functions." msgstr "" "\\&B يسترجع المؤشر SSL لـ SSL BIO B، ثم يمكن التلاعب به " "باستخدام دوال مكتبة SSL القياسية." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the SSL BIO mode to B. If B is " "1 client mode is set. If B is 0 server mode is set." msgstr "" "\\&B يضبط وضع SSL BIO إلى B. إذا كان B " "هو 1، يُضبط وضع العميل. إذا كان B هو 0، يُضبط وضع الخادم." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the renegotiate byte count of SSL " "BIO B to B. When set after every B bytes of I/O (read and " "write) the SSL session is automatically renegotiated. B must be at " "least 512 bytes." msgstr "" "\\&B يضبط عدد بايتات إعادة التفاوض لـ SSL " "BIO B إلى B. عند الضبط، بعد كل B بايت من الإدخال/الإخراج (قراءة " "وكتابة)، يُعاد التفاوض على جلسة SSL آليًا. يجب أن يكون B على الأقل 512 " "بايت." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the renegotiate timeout of SSL " "BIO B to B. When the renegotiate timeout elapses the session is " "automatically renegotiated." msgstr "" "\\&B يضبط مهلة إعادة التفاوض لـ SSL BIO " "B إلى B. عندما تنقضي مهلة إعادة التفاوض، يُعاد التفاوض على الجلسة " "آليًا." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the total number of session " "renegotiations due to I/O or timeout of SSL BIO B." msgstr "" "\\&B تُرجع العدد الإجمالي لإعادة تفاوض الجلسة " "بسبب الإدخال/الإخراج أو المهلة لـ SSL BIO B." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B allocates an SSL BIO using SSL_CTX B and using " "client mode if B is non zero." msgstr "" "\\&B يخصص SSL BIO باستخدام SSL_CTX B وباستخدام وضع " "العميل إذا كان B غير صفري." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B creates a new BIO chain consisting of an SSL BIO " "(using B) followed by a connect BIO." msgstr "" "\\&B ينشئ سلسلة BIO جديدة تتكون من SSL BIO (باستخدام " "B) متبوعة بـ BIO اتصال." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B creates a new BIO chain consisting of a " "buffering BIO, an SSL BIO (using B), and a connect BIO." msgstr "" "\\&B ينشئ سلسلة BIO جديدة تتكون من BIO تخزين " "مؤقت، وSSL BIO (باستخدام B)، وBIO اتصال." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B copies an SSL session id between BIO chains " "B and B. It does this by locating the SSL BIOs in each chain and " "calling B on the internal SSL pointer." msgstr "" "\\&B تنسخ مُعرّف جلسة SSL بين سلسلتي BIO B و " "B. تفعل ذلك بتحديد BIOs SSL في كل سلسلة واستدعاء " "B على مؤشر SSL الداخلي." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B closes down an SSL connection on BIO chain B. " "It does this by locating the SSL BIO in the chain and calling " "B on its internal SSL pointer." msgstr "" "\\&B تغلق اتصال SSL على سلسلة BIO B. تفعل ذلك " "بتحديد SSL BIO في السلسلة واستدعاء B على مؤشر SSL الداخلي." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B attempts to complete an SSL handshake on the " "supplied BIO and establish the SSL connection. For non-SSL BIOs the " "connection is done typically at TCP level. If domain name resolution yields " "multiple IP addresses all of them are tried after B failures. " "The function returns 1 if the connection was established successfully. A " "zero or negative value is returned if the connection could not be " "established. The call B should be used for nonblocking " "connect BIOs to determine if the call should be retried. If a connection " "has already been established this call has no effect." msgstr "" "\\&B تحاول إكمال مصافحة SSL على BIO المُقدّم وإنشاء اتصال " "SSL. بالنسبة لـ BIOs غير SSL، يُجرى الاتصال عادةً على مستوى TCP. إذا أسفر " "تحليل اسم النطاق عن عناوين IP متعددة، تُجرى محاولة جميعها بعد فشل " "B. تُعيد الدالة 1 إذا أُنشئ الاتصال بنجاح. تُعاد قيمة صفرية أو سالبة " "إذا تعذر إنشاء الاتصال. يجب استخدام الاستدعاء B لـ BIOs " "الاتصال غير المحظورة لتحديد ما إذا كان يجب إعادة محاولة الاستدعاء. إذا أُنشئ " "اتصال بالفعل، فلا تأثير لهذا الاستدعاء." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "SSL BIOs are exceptional in that if the underlying transport is non blocking " "they can still request a retry in exceptional circumstances. Specifically " "this will happen if a session renegotiation takes place during a " "B operation, one case where this happens is when step up " "occurs." msgstr "" "BIOs SSL استثنائية حيث إذا كان النقل الأساسي غير محظور، فلا يزال بإمكانها " "طلب إعادة محاولة في ظروف استثنائية. تحديدًا، سيحدث هذا إذا جرت إعادة تفاوض " "على الجلسة أثناء عملية B، ومن الحالات التي يحدث فيها ذلك عند " "حدوث تصعيد." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The SSL flag SSL_AUTO_RETRY can be set to disable this behaviour. That is " "when this flag is set an SSL BIO using a blocking transport will never " "request a retry." msgstr "" "يمكن تعيين علامة SSL_AUTO_RETRY لتعطيل هذا السلوك. أي عند تعيين هذه العلامة، " "لن يطلب SSL BIO الذي يستخدم نقلًا محظورًا إعادة محاولة أبدًا." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Since unknown B operations are sent through filter BIOs the " "servers name and port can be set using B on the BIO returned " "by B without having to locate the connect BIO first." msgstr "" "بما أن عمليات B غير المعروفة تُرسل عبر BIOs التصفية، يمكن تعيين " "اسم الخادم والمنفذ باستخدام B على BIO المُعاد بواسطة " "B دون الحاجة إلى تحديد BIO الاتصال أولاً." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Applications do not have to call B but may wish to do so " "to separate the handshake process from other I/O processing." msgstr "" "لا يتعين على التطبيقات استدعاء B ولكن قد ترغب في فعل ذلك " "لفصل عملية المصافحة عن معالجة الإدخال/الإخراج الأخرى." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B, " "\\&B, B, " "\\&B, and B are implemented " "as macros." msgstr "" "\\&B و B و B و " "\\&B و B " "و \\&B و B مُنفّذة كوحدات " "ماكرو." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is not currently supported on QUIC SSL " "objects and fails if called on such an object." msgstr "" "\\&B غير مدعومة حاليًا على كائنات QUIC SSL وتفشل " "إذا استُدعيت على مثل هذا الكائن." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "القيم المُرجعة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B returns the SSL B structure." msgstr "\\&B تُعيد بنية B الخاصة بـ SSL." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B, " "B, \\&B " "and B return 1 on success or a value which is " "less than or equal to 0 if an error occurred." msgstr "" "\\&B و B و B و " "B و \\&B " "و B تُعيد 1 عند النجاح أو قيمة أقل من أو تساوي 0 " "إذا حدث خطأ." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B and " "B return a valid B structure on success " "or B if an error occurred." msgstr "" "\\&B و B و " "B تُعيد بنية B صالحة عند النجاح أو B " "إذا حدث خطأ." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 on success or 0 on error, or if " "called on a QUIC SSL object." msgstr "" "\\&B تُعيد 1 عند النجاح أو 0 عند الخطأ، أو إذا " "استُدعيت على كائن QUIC SSL." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 if the connection was established " "successfully. A zero or negative value is returned if the connection could " "not be established." msgstr "" "\\&B تُعيد 1 إذا أُنشئ الاتصال بنجاح. تُعاد قيمة صفرية أو " "سالبة إذا تعذر إنشاء الاتصال." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This SSL/TLS client example attempts to retrieve a page from an SSL/TLS web " "server. The I/O routines are identical to those of the unencrypted example " "in B\\|(3)." msgstr "" "يحاول مثال عميل SSL/TLS هذا استرداد صفحة من خادم ويب SSL/TLS. إجراءات " "الإدخال/الإخراج مطابقة لتلك الموجودة في المثال غير المُعمّى في " "B\\|(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& BIO *sbio, *out;\n" "\\& int len;\n" "\\& char tmpbuf[1024];\n" "\\& SSL_CTX *ctx;\n" "\\& SSL *ssl;\n" "\\&\n" "\\& /* XXX Seed the PRNG if needed. */\n" "\\&\n" "\\& ctx = SSL_CTX_new(TLS_client_method());\n" "\\&\n" "\\& /* XXX Set verify paths and mode here. */\n" "\\&\n" "\\& sbio = BIO_new_ssl_connect(ctx);\n" "\\& BIO_get_ssl(sbio, &ssl);\n" "\\& if (ssl == NULL) {\n" "\\& fprintf(stderr, \"Can\\*(Aqt locate SSL pointer\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& /* XXX We might want to do other things with ssl here */\n" "\\&\n" "\\& /* An empty host part means the loopback address */\n" "\\& BIO_set_conn_hostname(sbio, \":https\");\n" "\\&\n" "\\& out = BIO_new_fp(stdout, BIO_NOCLOSE);\n" "\\& if (BIO_do_connect(sbio) E= 0) {\n" "\\& fprintf(stderr, \"Error connecting to server\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& /* XXX Could examine ssl here to get connection info */\n" "\\&\n" "\\& BIO_puts(sbio, \"GET / HTTP/1.0\\en\\en\");\n" "\\& for (;;) {\n" "\\& len = BIO_read(sbio, tmpbuf, 1024);\n" "\\& if (len E= 0)\n" "\\& break;\n" "\\& BIO_write(out, tmpbuf, len);\n" "\\& }\n" "\\& BIO_free_all(sbio);\n" "\\& BIO_free(out);\n" msgstr "" "\\& BIO *sbio, *out;\n" "\\& int len;\n" "\\& char tmpbuf[1024];\n" "\\& SSL_CTX *ctx;\n" "\\& SSL *ssl;\n" "\\&\n" "\\& /* XXX Seed the PRNG if needed. */\n" "\\&\n" "\\& ctx = SSL_CTX_new(TLS_client_method());\n" "\\&\n" "\\& /* XXX Set verify paths and mode here. */\n" "\\&\n" "\\& sbio = BIO_new_ssl_connect(ctx);\n" "\\& BIO_get_ssl(sbio, &ssl);\n" "\\& if (ssl == NULL) {\n" "\\& fprintf(stderr, \"Can\\*(Aqt locate SSL pointer\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& /* XXX We might want to do other things with ssl here */\n" "\\&\n" "\\& /* An empty host part means the loopback address */\n" "\\& BIO_set_conn_hostname(sbio, \":https\");\n" "\\&\n" "\\& out = BIO_new_fp(stdout, BIO_NOCLOSE);\n" "\\& if (BIO_do_connect(sbio) E= 0) {\n" "\\& fprintf(stderr, \"Error connecting to server\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& /* XXX Could examine ssl here to get connection info */\n" "\\&\n" "\\& BIO_puts(sbio, \"GET / HTTP/1.0\\en\\en\");\n" "\\& for (;;) {\n" "\\& len = BIO_read(sbio, tmpbuf, 1024);\n" "\\& if (len E= 0)\n" "\\& break;\n" "\\& BIO_write(out, tmpbuf, len);\n" "\\& }\n" "\\& BIO_free_all(sbio);\n" "\\& BIO_free(out);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Here is a simple server example. It makes use of a buffering BIO to allow " "lines to be read from the SSL BIO using BIO_gets. It creates a pseudo web " "page containing the actual request from a client and also echoes the request " "to standard output." msgstr "" "هذا مثال بسيط لخادم. يستخدم BIO تخزين مؤقت للسماح بقراءة الأسطر من SSL BIO " "باستخدام BIO_gets. يُنشئ صفحة ويب زائفة تحتوي على الطلب الفعلي من عميل ويعيد " "أيضًا إرسال الطلب إلى الإخراج القياسي." #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& BIO *sbio, *bbio, *acpt, *out;\n" "\\& int len;\n" "\\& char tmpbuf[1024];\n" "\\& SSL_CTX *ctx;\n" "\\& SSL *ssl;\n" "\\&\n" "\\& /* XXX Seed the PRNG if needed. */\n" "\\&\n" "\\& ctx = SSL_CTX_new(TLS_server_method());\n" "\\& if (!SSL_CTX_use_certificate_file(ctx, \"server.pem\", SSL_FILETYPE_PEM)\n" "\\& || !SSL_CTX_use_PrivateKey_file(ctx, \"server.pem\", SSL_FILETYPE_PEM)\n" "\\& || !SSL_CTX_check_private_key(ctx)) {\n" "\\& fprintf(stderr, \"Error setting up SSL_CTX\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& /* XXX Other things like set verify locations, EDH temp callbacks. */\n" "\\&\n" "\\& /* New SSL BIO setup as server */\n" "\\& sbio = BIO_new_ssl(ctx, 0);\n" "\\& BIO_get_ssl(sbio, &ssl);\n" "\\& if (ssl == NULL) {\n" "\\& fprintf(stderr, \"Can\\*(Aqt locate SSL pointer\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& bbio = BIO_new(BIO_f_buffer());\n" "\\& sbio = BIO_push(bbio, sbio);\n" "\\& acpt = BIO_new_accept(\"4433\");\n" "\\&\n" "\\& /*\n" "\\& * By doing this when a new connection is established\n" "\\& * we automatically have sbio inserted into it. The\n" "\\& * BIO chain is now \\*(Aqswallowed\\*(Aq by the accept BIO and\n" "\\& * will be freed when the accept BIO is freed.\n" "\\& */\n" "\\& BIO_set_accept_bios(acpt, sbio);\n" "\\& out = BIO_new_fp(stdout, BIO_NOCLOSE);\n" "\\&\n" "\\& /* First call to BIO_do_accept() sets up accept BIO */\n" "\\& if (BIO_do_accept(acpt) E= 0) {\n" "\\& fprintf(stderr, \"Error setting up accept BIO\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" msgstr "" "\\& BIO *sbio, *bbio, *acpt, *out;\n" "\\& int len;\n" "\\& char tmpbuf[1024];\n" "\\& SSL_CTX *ctx;\n" "\\& SSL *ssl;\n" "\\&\n" "\\& /* XXX Seed the PRNG if needed. */\n" "\\&\n" "\\& ctx = SSL_CTX_new(TLS_server_method());\n" "\\& if (!SSL_CTX_use_certificate_file(ctx, \"server.pem\", SSL_FILETYPE_PEM)\n" "\\& || !SSL_CTX_use_PrivateKey_file(ctx, \"server.pem\", SSL_FILETYPE_PEM)\n" "\\& || !SSL_CTX_check_private_key(ctx)) {\n" "\\& fprintf(stderr, \"Error setting up SSL_CTX\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& /* XXX Other things like set verify locations, EDH temp callbacks. */\n" "\\&\n" "\\& /* New SSL BIO setup as server */\n" "\\& sbio = BIO_new_ssl(ctx, 0);\n" "\\& BIO_get_ssl(sbio, &ssl);\n" "\\& if (ssl == NULL) {\n" "\\& fprintf(stderr, \"Can\\*(Aqt locate SSL pointer\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& bbio = BIO_new(BIO_f_buffer());\n" "\\& sbio = BIO_push(bbio, sbio);\n" "\\& acpt = BIO_new_accept(\"4433\");\n" "\\&\n" "\\& /*\n" "\\& * By doing this when a new connection is established\n" "\\& * we automatically have sbio inserted into it. The\n" "\\& * BIO chain is now \\*(Aqswallowed\\*(Aq by the accept BIO and\n" "\\& * will be freed when the accept BIO is freed.\n" "\\& */\n" "\\& BIO_set_accept_bios(acpt, sbio);\n" "\\& out = BIO_new_fp(stdout, BIO_NOCLOSE);\n" "\\&\n" "\\& /* First call to BIO_do_accept() sets up accept BIO */\n" "\\& if (BIO_do_accept(acpt) E= 0) {\n" "\\& fprintf(stderr, \"Error setting up accept BIO\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "/* Second call to B waits for incoming connection */\n" " if (BIO_do_accept(acpt) E= 0) {\n" " fprintf(stderr, \"Error accepting connection\\en\");\n" " ERR_print_errors_fp(stderr);\n" " B\\|(1);\n" " }\n" msgstr "" "/* Second call to B waits for incoming connection */\n" " if (BIO_do_accept(acpt) E= 0) {\n" " fprintf(stderr, \"Error accepting connection\\en\");\n" " ERR_print_errors_fp(stderr);\n" " B\\|(1);\n" " }\n" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& /* We only want one connection so remove and free accept BIO */\n" "\\& sbio = BIO_pop(acpt);\n" "\\& BIO_free_all(acpt);\n" "\\&\n" "\\& if (BIO_do_handshake(sbio) E= 0) {\n" "\\& fprintf(stderr, \"Error in SSL handshake\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& BIO_puts(sbio, \"HTTP/1.0 200 OK\\er\\enContent-type: text/plain\\er\\en\\er\\en\");\n" "\\& BIO_puts(sbio, \"\\er\\enConnection Established\\er\\enRequest headers:\\er\\en\");\n" "\\& BIO_puts(sbio, \"--------------------------------------------------\\er\\en\");\n" "\\&\n" "\\& for (;;) {\n" "\\& len = BIO_gets(sbio, tmpbuf, 1024);\n" "\\& if (len E= 0)\n" "\\& break;\n" "\\& BIO_write(sbio, tmpbuf, len);\n" "\\& BIO_write(out, tmpbuf, len);\n" "\\& /* Look for blank line signifying end of headers*/\n" "\\& if (tmpbuf[0] == \\*(Aq\\er\\*(Aq || tmpbuf[0] == \\*(Aq\\en\\*(Aq)\n" "\\& break;\n" "\\& }\n" "\\&\n" "\\& BIO_puts(sbio, \"--------------------------------------------------\\er\\en\");\n" "\\& BIO_puts(sbio, \"\\er\\en\");\n" "\\& BIO_flush(sbio);\n" "\\& BIO_free_all(sbio);\n" msgstr "" "\\& /* We only want one connection so remove and free accept BIO */\n" "\\& sbio = BIO_pop(acpt);\n" "\\& BIO_free_all(acpt);\n" "\\&\n" "\\& if (BIO_do_handshake(sbio) E= 0) {\n" "\\& fprintf(stderr, \"Error in SSL handshake\\en\");\n" "\\& ERR_print_errors_fp(stderr);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& BIO_puts(sbio, \"HTTP/1.0 200 OK\\er\\enContent-type: text/plain\\er\\en\\er\\en\");\n" "\\& BIO_puts(sbio, \"\\er\\enConnection Established\\er\\enRequest headers:\\er\\en\");\n" "\\& BIO_puts(sbio, \"--------------------------------------------------\\er\\en\");\n" "\\&\n" "\\& for (;;) {\n" "\\& len = BIO_gets(sbio, tmpbuf, 1024);\n" "\\& if (len E= 0)\n" "\\& break;\n" "\\& BIO_write(sbio, tmpbuf, len);\n" "\\& BIO_write(out, tmpbuf, len);\n" "\\& /* Look for blank line signifying end of headers*/\n" "\\& if (tmpbuf[0] == \\*(Aq\\er\\*(Aq || tmpbuf[0] == \\*(Aq\\en\\*(Aq)\n" "\\& break;\n" "\\& }\n" "\\&\n" "\\& BIO_puts(sbio, \"--------------------------------------------------\\er\\en\");\n" "\\& BIO_puts(sbio, \"\\er\\en\");\n" "\\& BIO_flush(sbio);\n" "\\& BIO_free_all(sbio);\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "In OpenSSL before 1.0.0 the B call was handled incorrectly, the I/" "O BIO reference count was incorrectly incremented (instead of decremented) " "and dissociated with the SSL BIO even if the SSL BIO was not explicitly " "being popped (e.g. a pop higher up the chain). Applications which included " "workarounds for this bug (e.g. freeing BIOs more than once) should be " "modified to handle this fix or they may free up an already freed BIO." msgstr "" "في OpenSSL قبل 1.0.0، عُولجت استدعاء B بشكل غير صحيح، زيد عدد " "مراجع I/O BIO بشكل غير صحيح (بدلاً من إنقاصه) وفُصل عن SSL BIO حتى لو لم يُفصل " "SSL BIO صراحة (مثل فصل أعلى السلسلة). يجب تعديل التطبيقات التي تضمنت حلولاً " "بديلة لهذا الخلل (مثل تحرير BIOs أكثر من مرة) لمعالجة هذا الإصلاح أو قد تحرر " "BIO محرر بالفعل." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "حقوق النسخ" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved." msgstr "حقوق النشر 2000-2023 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://www.openssl." "org/source/license.htmlE." msgstr "" "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك " "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في " "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط Ehttps://" "www.openssl.org/source/license.htmlE." #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "BIO_F_SSL 3SSL" msgstr "BIO_F_SSL 3SSL" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "3.5.6"