I don't think there is anything to do with https in the embedder side. Have you built the mozilla with --enable-crypto?

-Kyle

Charles Lucas wrote:

I am trying too work on an application that uses the Mozilla embedded library. My problem am unable to load https wed pages. An https connection is estblished and immediately closed by my client. I have looked at Galeon and can not determine what they are doing that I have not done in order to get https to work any help would be greatly appreciated.

Here is a simple testcase for my problem:

#include <gtk/gtk.h>
#include <gtkmozembed.h>

int main( int   argc, char *argv[] )
{
 GtkWidget *window;
 GtkWidget *browser;
 char * shit = NULL;

 gtk_init (&argc, &argv);
 gtk_moz_embed_set_comp_path("/usr/lib/mozilla");

 window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
 browser = gtk_moz_embed_new();
 gtk_container_add (GTK_CONTAINER(window), browser);
 gtk_widget_show (browser);
 gtk_moz_embed_load_url((GtkMozEmbed*)browser,"https://www.wellsfargo.com/";);
 gtk_widget_show  (window);

 shit = gtk_moz_embed_get_title((GtkMozEmbed*)browser);
 if (shit != NULL) {
   printf("%s\n", shit);
 }
 gtk_main ();

 return 0;
}

compiles with "gcc base.c -o base `pkg-config --libs --cflags gtk+-2.0 mozilla-gtkmozembed`"

thanx charles
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to