projects
/
gpgme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f34812
)
Show DN part names (CN=blah,O=blah...)
author
Steffen Hansen
<hansen@kde.org>
Thu, 20 Jun 2002 00:44:00 +0000
(
00:44
+0000)
committer
Steffen Hansen
<hansen@kde.org>
Thu, 20 Jun 2002 00:44:00 +0000
(
00:44
+0000)
trunk/gpgmeplug/gpgmeplug.c
patch
|
blob
|
history
diff --git
a/trunk/gpgmeplug/gpgmeplug.c
b/trunk/gpgmeplug/gpgmeplug.c
index 6d4c700cbe9133016022a115698b862d3640e912..b0ab263883d3088bf9324b507de46b2c39023907 100644
(file)
--- a/
trunk/gpgmeplug/gpgmeplug.c
+++ b/
trunk/gpgmeplug/gpgmeplug.c
@@
-2063,6
+2063,10
@@
static int add_dn_part( char* result, struct DnPair* dn, const char* part )
for(; dn->key; ++dn ) {
if( !strcmp( dn->key, part ) ) {
if( any ) strcat( result, "+" );
+ /* email hack */
+ if( !strcmp( part, "1.2.840.113549.1.9.1" ) ) strcat( result, "EMail" );
+ else strcat( result, part );
+ strcat( result, "=" );
strcat( result, dn->value );
any = 1;
}