Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl.old/dist/crypto/dsa add DSA_bits()



details:   https://anonhg.NetBSD.org/src/rev/7e2fb8182811
branches:  trunk
changeset: 829552:7e2fb8182811
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 05 20:27:06 2018 +0000

description:
add DSA_bits()

diffstat:

 crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r cbbc7bfd5894 -r 7e2fb8182811 crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h
--- a/crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h     Mon Feb 05 20:23:47 2018 +0000
+++ b/crypto/external/bsd/openssl.old/dist/crypto/dsa/dsa.h     Mon Feb 05 20:27:06 2018 +0000
@@ -401,6 +401,11 @@
 
        return 1;
 }
+
+static inline int DSA_bits(const DSA *d)
+{
+       return BN_num_bits(d->p);
+}
 #endif
 
 



Home | Main Index | Thread Index | Old Index