Modify

Opened 11 years ago

Closed 11 years ago

Last modified 2 years ago

#340 closed defect (worksforme)

mini_httpd with matrixssl: Bus error

Reported by: aktivists@… Owned by: nico
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: 2.0
Keywords: Cc: silc@…

Description

Maked subject, but when starting:
root@zol2:/usr/lib# /etc/init.d/mini_httpd start
Bus error

After quick investigation found that it bus error is generated in:
mini_httpd.c ~544line:

#ifdef USE_SSL 
    if ( do_ssl )
        {
        SSL_load_error_strings();
        SSLeay_add_ssl_algorithms();
        ssl_ctx = SSL_CTX_new( SSLv23_server_method() );
        if ( certfile[0] != '\0' ) {
            if ( SSL_CTX_use_certificate_file( ssl_ctx, certfile, SSL_FILETYPE_PEM ) == 0 ||
                 SSL_CTX_use_PrivateKey_file( ssl_ctx, certfile, SSL_FILETYPE_PEM ) == 0 || 
                 SSL_CTX_check_private_key( ssl_ctx ) == 0 )
                {
                ERR_print_errors_fp( stderr );
                exit( 1 );
                }
        }
        if ( cipher != (char*) 0 )
            {
            if ( SSL_CTX_set_cipher_list( ssl_ctx, cipher ) == 0 )
                {
                ERR_print_errors_fp( stderr );
                exit( 1 );
                }
            }
        }
#endif /* USE_SSL */

Attachments (0)

Change History (4)

comment:1 Changed 11 years ago by olli

  • Milestone set to 2.0
  • Version set to 2.0

comment:2 Changed 11 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to assigned

Please provide details about your setup and the packages involved.

comment:3 Changed 11 years ago by nico

  • Resolution set to worksforme
  • Status changed from assigned to closed

mini_httpd (from mini-httpd-matrixssl package) is working as expected with the packages found in the backports repository on WhiteRussian RC5.

comment:4 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.