diff options
Diffstat (limited to 'g10/keygen.c')
-rw-r--r-- | g10/keygen.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index 9d04845b1..30a236539 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -2417,25 +2417,3 @@ write_keyblock( IOBUF out, KBNODE node ) } return 0; } - -char * -build_personal_digest_list(void) -{ - int i,n=0; - static char pers_digest_list[(MAX_PREFS*5)+1]; - - /* The end result of this is to favor SHA-1 over everything, and put - MD5 at the very end of the list. */ - - /* Don't put in 100-110 automatically */ - for(i=2;i<100 && n<MAX_PREFS;i++) - { - if(check_digest_algo(i)==0) - { - sprintf(pers_digest_list+strlen(pers_digest_list),"H%d ",i); - n++; - } - } - - return pers_digest_list; -} |