Tagging the 0.76.0.4 release of the KiTTY project.

This commit is contained in:
cyd01
2021-12-31 14:47:19 +01:00
parent 74249fd97d
commit e91bbfeeb5
5 changed files with 36 additions and 17 deletions
+17 -4
View File
@@ -912,11 +912,24 @@ static PageantAsyncOp *pageant_make_op(
char* confirm_fingerprint;
confirm_fingerprint = ssh2_fingerprint_blob(keyblob, SSH_FPTYPE_DEFAULT);
if( confirm_fingerprint!=NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->rkey->comment)) {
sfree(confirm_fingerprint);
return NULL;
if( pk->rkey->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->rkey->comment)) {
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
fail("unconfirmed key");
pk=NULL;
goto responded;
//return NULL;
}
} else if( pk->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->comment)) {
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
fail("unconfirmed key");
pk=NULL;
goto responded;
//return NULL;
}
}
sfree(confirm_fingerprint);
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
}
#endif
+1 -1
View File
@@ -1,5 +1,5 @@
#define RELEASE 0.76
#define TEXTVER "Release 0.76"
#define SSHVER "-Release-0.76"
#define BINARY_VERSION 0,76,0,3
#define BINARY_VERSION 0,76,0,4
#define SOURCE_COMMIT "unavailable"
+1 -1
View File
@@ -1 +1 @@
3
4
+16 -10
View File
@@ -7465,15 +7465,6 @@ if( !get_param("PUTTY") && conf_get_int(conf, CONF_disablealtgr) ) {
}
#ifdef MOD_PERSO
void set_title_internal(TermWin *tw, const char *title) {
sfree(window_name);
window_name = snewn(1 + strlen(title), char);
strcpy(window_name, title);
if (conf_get_bool(conf, CONF_win_name_always) || !IsIconic(wgs.term_hwnd))
SetWindowText(wgs.term_hwnd, title);
}
/* Creer un titre de fenetre a partir d'un schema donne
%%f: le folder auquel apprtient le session
%%h: le hostname
@@ -7495,7 +7486,14 @@ void make_title( char * res, char * fmt, const char * title ) {
sprintf( res, fmt, title ) ;
while( (p=poss( "%%s", res)) > 0 ) { del(res,p,3); if(strlen(conf_get_str(conf,CONF_sessionname))>0) insert(res,conf_get_str(conf,CONF_sessionname),p); }
while( (p=poss( "%%h", res)) > 0 ) { del(res,p,3); insert(res,conf_get_str(conf,CONF_host),p); }
while( (p=poss( "%%h", res)) > 0 ) {
del(res,p,3);
if( conf_get_int(conf,CONF_protocol) == PROT_SERIAL ) {
insert(res,conf_get_str(conf,CONF_serline),p);
} else {
insert(res,conf_get_str(conf,CONF_host),p);
}
}
while( (p=poss( "%%u", res)) > 0 ) { del(res,p,3); insert(res,conf_get_str(conf,CONF_username),p); }
while( (p=poss( "%%f", res)) > 0 ) { del(res,p,3); if(strlen(conf_get_str(conf,CONF_folder))>0) insert(res,conf_get_str(conf,CONF_folder),p); }
@@ -7559,6 +7557,14 @@ void make_title( char * res, char * fmt, const char * title ) {
}
}
void set_title_internal(TermWin *tw, const char *title) {
sfree(window_name);
window_name = dupstr(title);
if (conf_get_bool(conf, CONF_win_name_always) || !IsIconic(wgs.term_hwnd))
SetWindowText(wgs.term_hwnd, title);
}
static void wintw_set_title(TermWin *tw, const char *title_in) {
char *buffer, fmt[256]="%s" ;
char *title ;
+1 -1
View File
@@ -1 +1 @@
0.76.0.3
0.76.0.4