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/48100bb627ab
branches: trunk
changeset: 359251:48100bb627ab
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 1cc8b2827362 -r 48100bb627ab 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