Skip to content

mruby-polarssl not work #6713

@yamori813

Description

@yamori813

Sorry Japanese.

mruby 3.4でmruby-polarsslを試したところ正常に動作しません。環境はFreeBSD/amd64 13.1RとFreeBSD/mips 12.4Rです。

mruby-polarsslは本家は3.4でビルドが通らなくなっているのでforkしたレポジトリを利用しています。

https://github.com/[HellRok/mruby-polarssl](https://github.com/HellRok/mruby-polarssl)

ログを吐かせたところ、以下のように出ています。

/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_tls.c:2755: => flush output
/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_tls.c:2774: message length: 398, out_left: 398
/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_tls.c:2779: ssl->f_send() returned -78 (-0x004e)
/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_tls.c:3472: mbedtls_ssl_flush_output() returned -78 (-0x004e)
/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_tls.c:3315: ssl_write_record() returned -78 (-0x004e)
/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_cli.c:1093: mbedtls_ssl_write_handshake_msg() returned -78 (-0x004e)
/usr/home/hiroki/mruby/mruby-polarssl/polarssl/library/ssl_tls.c:8094: <= handshake
trace (most recent call last):
        [1] /tmp/y.rb:12
/tmp/y.rb:12:in handshake: ssl_handshake() returned E_SSL_ERROR[-78] (PolarSSL::SSL::Error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions