diff options
author | Werner Koch <wk@gnupg.org> | 2005-09-09 15:48:48 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2005-09-09 15:48:48 +0200 |
commit | aa7eccfbefc56724d435de41a4567bc6bf97ed31 (patch) | |
tree | a74af43c63b6a2008fd7b600bf5e67944010cf8a /agent/minip12.c | |
parent | Bug fixes and ssh support for the BELPIC. (diff) | |
download | gnupg2-aa7eccfbefc56724d435de41a4567bc6bf97ed31.tar.xz gnupg2-aa7eccfbefc56724d435de41a4567bc6bf97ed31.zip |
Fixed yesterdays change. Importing to Outlook seems to work now.
Diffstat (limited to 'agent/minip12.c')
-rw-r--r-- | agent/minip12.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/minip12.c b/agent/minip12.c index ea9f9b1b8..b4e836f5b 100644 --- a/agent/minip12.c +++ b/agent/minip12.c @@ -1409,7 +1409,7 @@ build_cert_bag (unsigned char *buffer, size_t buflen, char *salt, p += DIM (oid_encryptedData); /* 2. Store a [0] tag. */ - p = store_tag_length (p, 0x80, len[2]); + p = store_tag_length (p, 0xa0, len[2]); /* 3. Store a sequence. */ p = store_tag_length (p, TAG_SEQUENCE, len[3]); @@ -1433,7 +1433,7 @@ build_cert_bag (unsigned char *buffer, size_t buflen, char *salt, p += DIM (data_rc2iter2048); /* 8. And finally the [0] tag with the encrypted data. */ - p = store_tag_length (p, 0xa0, buflen); + p = store_tag_length (p, 0x80, buflen); memcpy (p, buffer, buflen); p += buflen; certbaglen = p - certbag; |