summary refs log tree commit diff
path: root/crypto/src/pkcs
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-10-24 10:56:16 -0400
committerOren Novotny <oren@novotny.org>2015-10-24 10:56:16 -0400
commit20cab17d399d70129e4aaf95fdc20004545677da (patch)
treee4a18e8399df3bbfe60adafcaed22b03dc2eddbe /crypto/src/pkcs
parentremove gitink hack (diff)
parentMerge branch 'master' into master-vs12 (diff)
downloadBouncyCastle.NET-ed25519-20cab17d399d70129e4aaf95fdc20004545677da.tar.xz
Merge branch 'master-vs12' into pcl
Diffstat (limited to 'crypto/src/pkcs')
-rw-r--r--crypto/src/pkcs/Pkcs10CertificationRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/pkcs/Pkcs10CertificationRequest.cs b/crypto/src/pkcs/Pkcs10CertificationRequest.cs
index e32510aaa..ab4f0fde3 100644
--- a/crypto/src/pkcs/Pkcs10CertificationRequest.cs
+++ b/crypto/src/pkcs/Pkcs10CertificationRequest.cs
@@ -282,7 +282,7 @@ namespace Org.BouncyCastle.Pkcs
             streamCalculator.Stream.Dispose();
 
             // Generate Signature.
-            sigBits = new DerBitString(((IBlockResult)streamCalculator.GetResult()).DoFinal());
+            sigBits = new DerBitString(((IBlockResult)streamCalculator.GetResult()).Collect());
         }
 
         //        internal Pkcs10CertificationRequest(