aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/gpgmeplug.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-06-20 16:48:37 +0000
committerWerner Koch <[email protected]>2002-06-20 16:48:37 +0000
commit5e136683405d8524ff41bc9237692d6534d71ca0 (patch)
tree9b2a9c5bdd24acf3092edba733a4ec651046d069 /gpgmeplug/gpgmeplug.c
parent* gpgsm/t-sign.c (main): Also test a normal signature. (diff)
downloadgpgme-5e136683405d8524ff41bc9237692d6534d71ca0.tar.gz
gpgme-5e136683405d8524ff41bc9237692d6534d71ca0.zip
* gpgmeplug.c (reorder_dn): Added missing stdpart list terminator.
BTW, why did you change the sequence of the parts. According to the specs there is no standard but our implementation has to make sure that it uses the same sequence everywhere. Adding the extra parts is useless because they are not defined in rfc2253 and thus can't occur.
Diffstat (limited to '')
-rw-r--r--gpgmeplug/gpgmeplug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c
index 39471cc3..d5d827be 100644
--- a/gpgmeplug/gpgmeplug.c
+++ b/gpgmeplug/gpgmeplug.c
@@ -2088,7 +2088,8 @@ static char* reorder_dn( struct DnPair *dn )
"L", "PC", "SP", "ST",
"OU",
"O",
- "C"
+ "C",
+ NULL
};
int any=0, any2=0, len=0, i;
char* result;