From: Werner Koch Date: Thu, 20 Jun 2002 16:48:37 +0000 (+0000) Subject: * gpgmeplug.c (reorder_dn): Added missing stdpart list terminator. X-Git-Tag: gpgme-1.2.0@1385~939 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b158dc6f60ffc0138c6bc5a53a7d5be7f119d454;p=gpgme.git * 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. --- diff --git a/trunk/gpgmeplug/ChangeLog b/trunk/gpgmeplug/ChangeLog index b7627a1..31c6ef7 100644 --- a/trunk/gpgmeplug/ChangeLog +++ b/trunk/gpgmeplug/ChangeLog @@ -1,3 +1,7 @@ +2002-06-20 Werner Koch + + * gpgmeplug.c (reorder_dn): Added missing stdpart list terminator. + 2002-05-30 Steffen Hansen * cryptplug.h, gpgmeplug.c: Added certificate info listing functions. @@ -7,7 +11,7 @@ 2002-03-23 Werner Koch * gpgmeplug.c: Converted it to real C; i.e. use standard comments - - we are doing ISO C 90. Transalted a few German remarks and + we are doing ISO C 90. Translated a few German remarks and commented on some things. 2002-03-08 Steffen Hansen diff --git a/trunk/gpgmeplug/gpgmeplug.c b/trunk/gpgmeplug/gpgmeplug.c index 39471cc..d5d827b 100644 --- a/trunk/gpgmeplug/gpgmeplug.c +++ b/trunk/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;