diff --git a/src/pw3270/v3270/oia.c b/src/pw3270/v3270/oia.c index 30f76d3..2352291 100644 --- a/src/pw3270/v3270/oia.c +++ b/src/pw3270/v3270/oia.c @@ -349,12 +349,12 @@ void v3270_draw_ssl_status(cairo_t *cr, H3270 *host, struct v3270_metrics *metri case LIB3270_SSL_NEGOTIATING: /**< Negotiating SSL */ gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_WARNING); - draw_xbm(cr,rect,unlocked_width,unlocked_height,unlocked_bits); + draw_xbm(cr,rect,negotiated_width,negotiated_height,negotiated_bits); break; case LIB3270_SSL_NEGOTIATED: /**< Connection secure, no CA or self-signed */ gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_OK); - draw_xbm(cr,rect,negotiated_width,negotiated_height,negotiated_bits); + draw_xbm(cr,rect,locked_width,locked_height,locked_bits); gdk_cairo_set_source_color(cr,color+V3270_COLOR_OIA_STATUS_WARNING); draw_xbm(cr,rect,warning_width,warning_height,warning_bits); break; diff --git a/src/pw3270/v3270/unlocked.xbm b/src/pw3270/v3270/unlocked.xbm index 5d7ab13..3fccded 100644 --- a/src/pw3270/v3270/unlocked.xbm +++ b/src/pw3270/v3270/unlocked.xbm @@ -6,9 +6,9 @@ static unsigned char unlocked_bits[] = { 0x00, 0x30, 0x07, 0xce, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xcc, 0x00, 0x30, 0x03, 0xfc, 0x00, 0x30, 0x03, 0xfc, 0xff, 0xff, 0x3f, 0x00, - 0xff, 0xff, 0x3f, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, - 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, 0x03, 0x00, 0x30, 0x00, + 0xff, 0xff, 0x3f, 0x00, 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, + 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, + 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, + 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, + 0xab, 0xaa, 0x3a, 0x00, 0x57, 0x55, 0x35, 0x00, 0xab, 0xaa, 0x3a, 0x00, 0xff, 0xff, 0x3f, 0x00, 0xff, 0xff, 0x3f, 0x00 }; -- libgit2 0.21.2