From 63ee0e622e504aa1d8112470e1a48a749ef12991 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 17 Sep 2007 15:05:15 -0700 Subject: [PATCH] Return bytes decoded when copying DER-encoded bytes --- dlls/crypt32/decode.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c index 6370d81..78bc365 100644 --- a/dlls/crypt32/decode.c +++ b/dlls/crypt32/decode.c @@ -1836,6 +1836,8 @@ static BOOL CRYPT_AsnDecodeCopyBytesInte assert(blob->pbData); memcpy(blob->pbData, pbEncoded, blob->cbData); } + if (pcbDecoded) + *pcbDecoded = cbEncoded; } return ret; } -- 1.4.1