all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disable source code signature checking of delegate9.9.13 with the help of emacs.
@ 2020-12-20 13:27 Hongyi Zhao
  0 siblings, 0 replies; only message in thread
From: Hongyi Zhao @ 2020-12-20 13:27 UTC (permalink / raw)
  To: help-gnu-emacs

The delegate9.9.13 whose source code is located at
<http://www.delegate.org/anonftp/DeleGate/delegate9.9.13.tar.gz> has
the source code signature checking based on the following function
defined in the source code:

$ cat srcsign.c
const char *DELEGATE_srcsign(){
return
"\n{SRCSIGN=9.9.13:20141031194217+0900:6fdc87e522763a5e:\
Author@DeleGate.ORG:\
hPtX79eyOAnj9pjzcHNLBa2+1uhqjZszJ1UM7y4wXOikCGaUA4aQmK+kuq0QC/hng7lskzc9\r\n\
aIjEgOpDo5KF1odrli0RsQJI8nkGIWAW3uYxIFD70pwSAGNteRViGCmbIdO95QJfTjgTfKhp\r\n\
TQV3AYSDfyHF4li8dewmsd+oRrA=\r\n\
}\n"+10;
}
const char *DELEGATE_SrcSign(){
return
"\n{SrcSign=9.9.2-pre3:20090215114817+0900:9fd8879636f9934b:\
Author@DeleGate.ORG:\
s7F+zgs2D6yvuw+K1c3xJg4C9AJLSTuOGi2TAIPVQ52AwW0aqwRdJl3vME+/AaJpt3gKiH7b\r\n\
od6uyzyUFdkSIOgaTrMMdJBYBvCm0s7YhOpqCePnThu4e4RnMYTTpsI693BTt80KFXHwz4X3\r\n\
KO5W8Q4noFBPBme3yWwx/frGMMw=\r\n\
}\n"+10;
}

A preliminary inspection using grep shows that this function is called
in many places in the source code:

$ egrep -nIiR 'DELEGATE_SrcSign' .
./srcsign.c:1:const char *DELEGATE_srcsign(){
./srcsign.c:10:const char *DELEGATE_SrcSign(){
./src/dgsign.c:190:const char *DELEGATE_srcsign();
./src/dgsign.c:296:
Xsscanf(DELEGATE_srcsign(),"%*[^:]:%*[^:]:%[^:]",AVStr(smd5));
./src/conf.c:885:const char *DELEGATE_srcsign();
./src/conf.c:1167:    Xsscanf(DELEGATE_srcsign(),"%*[^:]:%[^:]",BVStr(date));
./src/conf.c:1176:    puts1(DELEGATE_srcsign(),out);
./src/conf.c:1245:        puts1(DELEGATE_srcsign(),idout);
./src/version.c:191:const char *DELEGATE_srcsign();
./src/version.c:192:const char *DELEGATE_SrcSign();
./src/version.c:202:
Xsscanf(DELEGATE_srcsign(),"%[^:]:%[^:]",AVStr(xver),AVStr(xdate));
./src/version.c:203:    if( xsign = strrchr(DELEGATE_srcsign(),':') )
./src/version.c:218:    const char *vsign = DELEGATE_SrcSign();
./src/version.c:221:    for( fp = DELEGATE_srcsign(); oct = *fp; fp++ ){
./src/ssi.c:629:        const char *DELEGATE_srcsign();
./src/ssi.c:648:            ssign = DELEGATE_srcsign();
./src-srcsign.c:1:const char *DELEGATE_srcsign(){

Now, I want to safely skip the source code signature checking imposed
by the above mechanism. How can I quickly complete the above work in
Emacs?

Regards
--
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic Vocational and Technical University
NO. 552 North Gangtie Road, Xingtai, China



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-20 13:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-20 13:27 Disable source code signature checking of delegate9.9.13 with the help of emacs Hongyi Zhao

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.