summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/dh.c
diff options
context:
space:
mode:
authordoug <>2015-02-08 10:22:45 +0000
committerdoug <>2015-02-08 10:22:45 +0000
commitf5656e5948afd96eceeae5f83939965ba96edc28 (patch)
treeba58b46fda227cb1089ceb084bb49a3366291f24 /src/usr.bin/openssl/dh.c
parent653ed322d15a6087960710834e7221c7ff8b0af1 (diff)
downloadopenbsd-f5656e5948afd96eceeae5f83939965ba96edc28.tar.gz
openbsd-f5656e5948afd96eceeae5f83939965ba96edc28.tar.bz2
openbsd-f5656e5948afd96eceeae5f83939965ba96edc28.zip
Delete commented out code from openssl(1) apps.
From OpenSSL commits: 6f91b017bbb7140f816721141ac156d1b828a6b3 75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 a2b18e657ea1a932d125154f4e13ab2258796d90 ok miod@, jsing@
Diffstat (limited to 'src/usr.bin/openssl/dh.c')
-rw-r--r--src/usr.bin/openssl/dh.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/usr.bin/openssl/dh.c b/src/usr.bin/openssl/dh.c
index ce10998090..4f82143511 100644
--- a/src/usr.bin/openssl/dh.c
+++ b/src/usr.bin/openssl/dh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh.c,v 1.2 2014/08/28 14:23:52 jsing Exp $ */ 1/* $OpenBSD: dh.c,v 1.3 2015/02/08 10:22:45 doug Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -211,15 +211,6 @@ bad:
211 } 211 }
212 if (text) { 212 if (text) {
213 DHparams_print(out, dh); 213 DHparams_print(out, dh);
214#ifdef undef
215 printf("p=");
216 BN_print(stdout, dh->p);
217 printf("\ng=");
218 BN_print(stdout, dh->g);
219 printf("\n");
220 if (dh->length != 0)
221 printf("recommended private length=%ld\n", dh->length);
222#endif
223 } 214 }
224 if (check) { 215 if (check) {
225 if (!DH_check(dh, &i)) { 216 if (!DH_check(dh, &i)) {